Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Unified Diff: Lib/test/test_zipfile.py

Issue 26295: Random failures when running test suite in parallel (-m test -j0) caused by test_regrtest
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_regrtest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_zipfile.py Tue Mar 15 23:08:44 2016 +0100
+++ b/Lib/test/test_zipfile.py Tue Mar 15 23:21:00 2016 +0100
@@ -739,7 +739,7 @@ class PyZipFileTests(unittest.TestCase):
def test_write_filtered_python_package(self):
import test
- packagedir = os.path.dirname(test.__file__)
+ packagedir = os.path.dirname(__file__)
self.requiresWriteAccess(packagedir)
with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
« no previous file with comments | « Lib/test/test_regrtest.py ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+