projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
312141c
)
cleaned up Jack's Mac OS9 changes
author
Just van Rossum
<just@letterror.com>
Thu, 9 Jan 2003 22:27:10 +0000
(22:27 +0000)
committer
Just van Rossum
<just@letterror.com>
Thu, 9 Jan 2003 22:27:10 +0000
(22:27 +0000)
Lib/test/test_zipimport.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_zipimport.py
b/Lib/test/test_zipimport.py
index 9bde605f7595e023b71ca9bfa12348dca5aabd39..3c9457f765fd3724e34fcf82068f726287f66100 100644
(file)
--- 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)