commit | bdabeccfb87ad5d5e24155dd06b1ff596474ca96 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jun 04 06:06:54 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jun 04 06:06:54 2002 +0000 |
tree | fca3e1d8a00fc154f2336d193f96ab8f55426eb9 | |
parent | ed3e09f28915eb382d8fdcab6734c382fd3f393c [diff] |
Repair the test (adding a docstring to the module type changed the docstring for an uninitialized module object).
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 @@ 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")