From 7995ed204a8bca2e919c34ac3e039935b6ca7ba9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 2 Aug 1997 03:19:26 +0000 Subject: [PATCH] The reload(sys) test no longer works due to changes in the import semantics. --- Lib/test/test_b2.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py index 1c1ea0c2c67..210206d661a 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(\'\')'