summaryrefslogtreecommitdiff
path: root/testing/test_functions.py
diff options
context:
space:
mode:
authorRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2016-10-05 19:20:30 +0200
committerRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2016-10-05 19:20:30 +0200
commit1cd395807331d5c535a5388dd4773615fee60032 (patch)
treef28651b1e7f7814a77834161d70306fb5f6e03c9 /testing/test_functions.py
parentf9ca54d95d9a43f4da0c226d7876ecdc64cb93cb (diff)
downloadsetuptools-scm-1cd395807331d5c535a5388dd4773615fee60032.tar.gz
fix issue #103 - reorder version dumping
Diffstat (limited to 'testing/test_functions.py')
-rw-r--r--testing/test_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_functions.py b/testing/test_functions.py
index cfb9eb9..eae9e9c 100644
--- a/testing/test_functions.py
+++ b/testing/test_functions.py
@@ -52,7 +52,7 @@ def test_format_version(version, monkeypatch, scheme, expected):
def test_dump_version_doesnt_bail_on_value_error(tmpdir):
write_to = "VERSION"
- version = VERSIONS['exact']
+ version = str(VERSIONS['exact'].tag)
with pytest.raises(ValueError) as exc_info:
dump_version(tmpdir.strpath, version, write_to)
assert str(exc_info.value).startswith("bad file format:")