mirror of https://github.com/python/cpython
The reload(sys) test no longer works due to changes in the import
semantics.
This commit is contained in:
parent
b02158efa3
commit
7995ed204a
|
@ -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(\'\')'
|
||||
|
|
Loading…
Reference in New Issue