Commit bdabeccf authored by Guido van Rossum's avatar Guido van Rossum

Repair the test (adding a docstring to the module type changed the

docstring for an uninitialized module object).
parent ed3e09f2
...@@ -14,7 +14,7 @@ except AttributeError: ...@@ -14,7 +14,7 @@ except AttributeError:
pass pass
else: else:
raise TestFailed, "__name__ = %s" % repr(s) raise TestFailed, "__name__ = %s" % repr(s)
vereq(foo.__doc__, None) vereq(foo.__doc__, module.__doc__)
# Regularly initialized module, no docstring # Regularly initialized module, no docstring
foo = module("foo") foo = module("foo")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment