diff options
author | Ronny Pfannschmidt <ronny.pfannschmidt@redhat.com> | 2016-10-05 19:20:30 +0200 |
---|---|---|
committer | Ronny Pfannschmidt <ronny.pfannschmidt@redhat.com> | 2016-10-05 19:20:30 +0200 |
commit | 1cd395807331d5c535a5388dd4773615fee60032 (patch) | |
tree | f28651b1e7f7814a77834161d70306fb5f6e03c9 /testing/test_functions.py | |
parent | f9ca54d95d9a43f4da0c226d7876ecdc64cb93cb (diff) | |
download | setuptools-scm-1cd395807331d5c535a5388dd4773615fee60032.tar.gz |
fix issue #103 - reorder version dumping
Diffstat (limited to 'testing/test_functions.py')
-rw-r--r-- | testing/test_functions.py | 2 |
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:") |