From: Guido van Rossum Date: Sat, 2 Aug 1997 03:19:26 +0000 (+0000) Subject: The reload(sys) test no longer works due to changes in the import X-Git-Tag: v1.5a3~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7995ed204a8bca2e919c34ac3e039935b6ca7ba9;p=python The reload(sys) test no longer works due to changes in the import semantics. --- diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py index 1c1ea0c2c6..210206d661 100644 --- a/Lib/test/test_b2.py +++ b/Lib/test/test_b2.py @@ -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(\'\')'