projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce92147
)
n the Mac the frozen import that should fail actually succeeds, and we know it, so...
author
Jack Jansen
<jack.jansen@cwi.nl>
Wed, 8 Jan 2003 16:30:54 +0000
(16:30 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Wed, 8 Jan 2003 16:30:54 +0000
(16:30 +0000)
Lib/test/test_frozen.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_frozen.py
b/Lib/test/test_frozen.py
index dd4fa66cd895dd13641e25f6e868699bd4b1b495..8b121d38d8fba4d76b5ca8c17aa142791424932d 100644
(file)
--- a/
Lib/test/test_frozen.py
+++ b/
Lib/test/test_frozen.py
@@
-18,9
+18,10
@@
try:
except ImportError, x:
raise TestFailed, "import __phello__.spam failed:" + str(x)
-try:
- import __phello__.foo
-except ImportError:
- pass
-else:
- raise TestFailed, "import __phello__.foo should have failed"
+if sys.platform != "mac": # On the Mac this import does succeed.
+ try:
+ import __phello__.foo
+ except ImportError:
+ pass
+ else:
+ raise TestFailed, "import __phello__.foo should have failed"