diff options
author | Guido van Rossum <guido@python.org> | 2002-06-04 06:06:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-04 06:06:54 (GMT) |
commit | bdabeccfb87ad5d5e24155dd06b1ff596474ca96 (patch) | |
tree | fca3e1d8a00fc154f2336d193f96ab8f55426eb9 /Lib | |
parent | ed3e09f28915eb382d8fdcab6734c382fd3f393c (diff) | |
download | cpython-bdabeccfb87ad5d5e24155dd06b1ff596474ca96.zip cpython-bdabeccfb87ad5d5e24155dd06b1ff596474ca96.tar.gz cpython-bdabeccfb87ad5d5e24155dd06b1ff596474ca96.tar.bz2 |
Repair the test (adding a docstring to the module type changed the
docstring for an uninitialized module object).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py index 566bb89..f3bf3d8 100644 --- a/Lib/test/test_module.py +++ b/Lib/test/test_module.py @@ -14,7 +14,7 @@ except AttributeError: pass else: raise TestFailed, "__name__ = %s" % repr(s) -vereq(foo.__doc__, None) +vereq(foo.__doc__, module.__doc__) # Regularly initialized module, no docstring foo = module("foo") |