Kaydet (Commit) 7995ed20 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

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