#17115: Remove what appears to be a useless chunk of code which broke
other tests.
This commit is contained in:
parent
df6931dbbc
commit
9c1334ef7d
|
@ -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…
Reference in New Issue