]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#17115: Remove what appears to be a useless chunk of code which broke
authorBrett Cannon <brett@python.org>
Sat, 4 May 2013 21:27:59 +0000 (17:27 -0400)
committerBrett Cannon <brett@python.org>
Sat, 4 May 2013 21:27:59 +0000 (17:27 -0400)
other tests.

Lib/test/test_pydoc.py

index 8adcdd87a480ce4d2ffcd50ce4540deb99021d4f..8524e5aa61c0919a7fb85e8b72d94929045b7c9e 100644 (file)
@@ -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)',