summaryrefslogtreecommitdiff
path: root/tests/test_filereporter.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-04-14 11:50:15 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-04-14 12:52:39 -0400
commit50cc68846f9b78a4d0984c5a9475203b3c87c1e0 (patch)
treecad38e5b57c4eebab80ad99c645396200a3b824c /tests/test_filereporter.py
parent52e5088a39b4d47e124a79c357dd04233658c583 (diff)
downloadpython-coveragepy-git-50cc68846f9b78a4d0984c5a9475203b3c87c1e0.tar.gz
test: improve zipfile test
Before this commit, the GetZipBytesTest.test_get_encoded_zip_files test was flaky on Python 3.10.0a7. Since I had just added new files to the common zip file, I tried splitting the newly added stuff into its own file, and that seemed to fix the problem.
Diffstat (limited to 'tests/test_filereporter.py')
-rw-r--r--tests/test_filereporter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_filereporter.py b/tests/test_filereporter.py
index 8ce2201d..1e8513f8 100644
--- a/tests/test_filereporter.py
+++ b/tests/test_filereporter.py
@@ -89,7 +89,7 @@ class FileReporterTest(UsingModulesMixin, CoverageTest):
assert bcu > acu and bcu >= acu and bcu != acu
def test_zipfile(self):
- sys.path.append("tests/zipmods.zip")
+ sys.path.append("tests/zip1.zip")
# Test that we can get files out of zipfiles, and read their source files.
# The zip1 module is installed by an action in igor.py.