diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py index 9bde605f759..3c9457f765f 100644 --- a/Lib/test/test_zipimport.py +++ b/Lib/test/test_zipimport.py @@ -38,10 +38,6 @@ def make_pyc(co, mtime): TESTPACK = "ziptestpackage" TESTPACK2 = "ziptestpackage2" TEMP_ZIP = os.path.abspath("junk95142.zip") -if sys.platform == 'mac': - CURDIRPREFIX=':' -else: - CURDIRPREFIX='' class UncompressedZipImportTestCase(ImportHooksBaseTestCase): @@ -68,7 +64,7 @@ def doTest(self, expected_ext, files, *modules): if expected_ext: file = mod.get_file() self.assertEquals(file, os.path.join(TEMP_ZIP, - CURDIRPREFIX + os.sep.join(modules) + expected_ext)) + *modules) + expected_ext) finally: z.close() os.remove(TEMP_ZIP)