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

semantics.
This commit is contained in:
Guido van Rossum 1997-08-02 03:19:26 +00:00
parent b02158efa3
commit 7995ed204a
1 changed files with 4 additions and 4 deletions

View File

@ -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(\'\')'