summaryrefslogtreecommitdiff
path: root/testing/test_integration.py
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2023-04-03 17:08:18 +0200
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2023-04-03 17:08:18 +0200
commitf6d8be8caff12d4a9e35c91aada14841cdbcae86 (patch)
tree19346e9f0ea91a3b141ea364766131893f4f2de7 /testing/test_integration.py
parentc74126382c636f364382508d97cf43c1df58b347 (diff)
downloadsetuptools-scm-f6d8be8caff12d4a9e35c91aada14841cdbcae86.tar.gz
breaking: unify version.distance to int
the difference between distance=0 and distance=None was hiding issues
Diffstat (limited to 'testing/test_integration.py')
-rw-r--r--testing/test_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_integration.py b/testing/test_integration.py
index ec0ec37..c0594ad 100644
--- a/testing/test_integration.py
+++ b/testing/test_integration.py
@@ -91,7 +91,7 @@ def test_pyproject_support_with_git(wd: WorkDir, metadata_in: str) -> None:
wd.write("setup.py", SETUP_PY_FILES[metadata_in])
wd.write("setup.cfg", SETUP_CFG_FILES[metadata_in])
res = wd([sys.executable, "setup.py", "--version"])
- assert res.endswith("0.1.dev0")
+ assert res.endswith("0.1.dev0+d20090213")
def test_pretend_version(monkeypatch: pytest.MonkeyPatch, wd: WorkDir) -> None: