summaryrefslogtreecommitdiff
path: root/tests/test_mixins.py
diff options
context:
space:
mode:
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