diff options
Diffstat (limited to 'test/test_util.py')
| -rw-r--r-- | test/test_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_util.py b/test/test_util.py index 00e8c4b..4a76769 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -385,7 +385,7 @@ class TestCompileExpression(unittest.TestCase): self.assertEqual(expr(value), result) with tempfile.TemporaryDirectory() as path: - file = path + "/module_sha1.py" + file = f"{path}/module_sha1.py" with open(file, "w") as fp: fp.write(""" import hashlib @@ -638,7 +638,7 @@ class TestOther(unittest.TestCase): self.assertIs(module, datetime) with tempfile.TemporaryDirectory() as path: - file = path + "/module_test.py" + file = f"{path}/module_test.py" with open(file, "w") as fp: fp.write(""" import datetime |
