diff options
author | Just van Rossum <just@letterror.com> | 2003-01-09 22:27:10 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-01-09 22:27:10 (GMT) |
commit | 6706c4d5fdea06db75cec76bd4815d9cecea108f (patch) | |
tree | c383f7b107176c3a016a9fe8dc8fc1e818a6cd44 /Lib/test/test_zipimport.py | |
parent | 312141c51fa0827c27358c7a1f316d934f07f250 (diff) | |
download | cpython-6706c4d5fdea06db75cec76bd4815d9cecea108f.zip cpython-6706c4d5fdea06db75cec76bd4815d9cecea108f.tar.gz cpython-6706c4d5fdea06db75cec76bd4815d9cecea108f.tar.bz2 |
cleaned up Jack's Mac OS9 changes
Diffstat (limited to 'Lib/test/test_zipimport.py')
-rw-r--r-- | Lib/test/test_zipimport.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py index 9bde605..3c9457f 100644 --- a/Lib/test/test_zipimport.py +++ b/Lib/test/test_zipimport.py @@ -38,10 +38,6 @@ TESTMOD = "ziptestmodule" 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 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase): 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) |