mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
The reload(sys) test no longer works due to changes in the import
semantics.
This commit is contained in:
parent
b02158efa3
commit
7995ed204a
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue