]> granicus.if.org Git - python/commitdiff
Repair the test (adding a docstring to the module type changed the
authorGuido van Rossum <guido@python.org>
Tue, 4 Jun 2002 06:06:54 +0000 (06:06 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Jun 2002 06:06:54 +0000 (06:06 +0000)
docstring for an uninitialized module object).

Lib/test/test_module.py

index 566bb894f515e6fe2f75d66664037c2fbbc23595..f3bf3d877513590f7804462ac9ed0eb24275ee94 100644 (file)
@@ -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")