summaryrefslogtreecommitdiff
path: root/tests/test_filereporter.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_filereporter.py
parent4c4ba2e0bc9ec663fa3772d2b088f736345a65a1 (diff)
downloadpython-coveragepy-git-ddf5ba8cfcfe7d133ddbf888cc6e3af79863c712.tar.gz
refactor: pyupgrade --py36-plus tests/**.py
Diffstat (limited to 'tests/test_filereporter.py')
-rw-r--r--tests/test_filereporter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_filereporter.py b/tests/test_filereporter.py
index 1e8513f8..e2c71fa2 100644
--- a/tests/test_filereporter.py
+++ b/tests/test_filereporter.py
@@ -103,5 +103,5 @@ class FileReporterTest(UsingModulesMixin, CoverageTest):
z1 = PythonFileReporter(zip1)
z1z1 = PythonFileReporter(zip1.zip1)
- assert z1.source() == u""
- assert u"# My zip file!" in z1z1.source().splitlines()
+ assert z1.source() == ""
+ assert "# My zip file!" in z1z1.source().splitlines()