mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#17115: Remove what appears to be a useless chunk of code which broke
other tests.
This commit is contained in:
parent
df6931dbbc
commit
9c1334ef7d
1 changed files with 0 additions and 4 deletions
|
@ -26,10 +26,6 @@ try:
|
|||
except ImportError:
|
||||
threading = None
|
||||
|
||||
# Just in case sys.modules["test"] has the optional attribute __loader__.
|
||||
if hasattr(pydoc_mod, "__loader__"):
|
||||
del pydoc_mod.__loader__
|
||||
|
||||
if test.support.HAVE_DOCSTRINGS:
|
||||
expected_data_docstrings = (
|
||||
'dictionary for instance variables (if defined)',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue