summaryrefslogtreecommitdiff
path: root/tests/test_mixins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-01 18:25:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-02 07:38:19 -0400
commitddf5ba8cfcfe7d133ddbf888cc6e3af79863c712 (patch)
tree5cd11a9f699ec93711422b00b519d096b1135ff3 /tests/test_mixins.py
parent4c4ba2e0bc9ec663fa3772d2b088f736345a65a1 (diff)
downloadpython-coveragepy-git-ddf5ba8cfcfe7d133ddbf888cc6e3af79863c712.tar.gz
refactor: pyupgrade --py36-plus tests/**.py
Diffstat (limited to 'tests/test_mixins.py')
-rw-r--r--tests/test_mixins.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_mixins.py b/tests/test_mixins.py
index aab1242a..1483b1a2 100644
--- a/tests/test_mixins.py
+++ b/tests/test_mixins.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
@@ -65,7 +64,7 @@ class SysPathModulessMixinTest(TempDirMixin, SysPathModulesMixin):
@pytest.mark.parametrize("val", [17, 42])
def test_module_independence(self, val):
- self.make_file("xyzzy.py", "A = {}".format(val))
+ self.make_file("xyzzy.py", f"A = {val}")
import xyzzy # pylint: disable=import-error
assert xyzzy.A == val