From: Guido van Rossum Date: Tue, 4 Jun 2002 06:06:54 +0000 (+0000) Subject: Repair the test (adding a docstring to the module type changed the X-Git-Tag: v2.3c1~5492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdabeccfb87ad5d5e24155dd06b1ff596474ca96;p=python 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 566bb894f5..f3bf3d8775 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")