diff options
author | Guido van Rossum <guido@python.org> | 1997-08-02 03:19:26 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-02 03:19:26 (GMT) |
commit | 7995ed204a8bca2e919c34ac3e039935b6ca7ba9 (patch) | |
tree | e221ab69260755f67852c3e9dabab9c81d6219ec /Lib/test | |
parent | b02158efa335902db30d842483a409b43bd2db69 (diff) | |
download | cpython-7995ed204a8bca2e919c34ac3e039935b6ca7ba9.zip cpython-7995ed204a8bca2e919c34ac3e039935b6ca7ba9.tar.gz cpython-7995ed204a8bca2e919c34ac3e039935b6ca7ba9.tar.bz2 |
The reload(sys) test no longer works due to changes in the import
semantics.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_b2.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py index 1c1ea0c..210206d 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(\'\')' |