#17115: Remove what appears to be a useless chunk of code which broke

other tests.
This commit is contained in:
Brett Cannon 2013-05-04 17:27:59 -04:00
parent df6931dbbc
commit 9c1334ef7d
1 changed files with 0 additions and 4 deletions

View File

@ -26,10 +26,6 @@ try:
except ImportError: except ImportError:
threading = None 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: if test.support.HAVE_DOCSTRINGS:
expected_data_docstrings = ( expected_data_docstrings = (
'dictionary for instance variables (if defined)', 'dictionary for instance variables (if defined)',