From bdabeccfb87ad5d5e24155dd06b1ff596474ca96 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Jun 2002 06:06:54 +0000 Subject: Repair the test (adding a docstring to the module type changed the docstring for an uninitialized module object). --- Lib/test/test_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v0.12