py27 compat fixes

This commit is contained in:
Manuel Barkhau 2018-09-05 21:04:26 +02:00
parent 31ae8c21f4
commit 6955728080
3 changed files with 4 additions and 3 deletions

View file

@ -25,7 +25,7 @@ def test_parse(tmpdir):
setup_path = tmpdir.mkdir("minimal").join("setup.cfg")
setup_path.write("\n".join((
"[pycalver]",
f"current_version = v201808.0001-dev",
"current_version = v201808.0001-dev",
"commit = False",
"tag = False",
"",
@ -78,7 +78,7 @@ def test_parse_invalid_version(tmpdir):
setup_path = tmpdir.mkdir("fail").join("setup.cfg")
setup_path.write("\n".join((
"[pycalver]",
f"current_version = 0.1.0",
"current_version = 0.1.0",
"commit = False",
)))