Commit 7afe6e20 authored by Guido van Rossum's avatar Guido van Rossum

The reload(sys) test no longer works due to changes in the import

semantics.
parent 41852a07
......@@ -153,10 +153,10 @@ import marshal
reload(marshal)
import string
reload(string)
import sys
try: reload(sys)
except ImportError: pass
else: raise TestFailed, 'reload(sys) should fail'
## import sys
## try: reload(sys)
## except ImportError: pass
## else: raise TestFailed, 'reload(sys) should fail'
print 'repr'
if repr('') <> '\'\'': raise TestFailed, 'repr(\'\')'
......
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