Kaydet (Commit) 6706c4d5 authored tarafından Just van Rossum's avatar Just van Rossum

cleaned up Jack's Mac OS9 changes

üst 312141c5
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment