mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Repair the test (adding a docstring to the module type changed the
docstring for an uninitialized module object).
This commit is contained in:
parent
ed3e09f289
commit
bdabeccfb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue