summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pydoc.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-04 21:27:59 (GMT)
committerBrett Cannon <brett@python.org>2013-05-04 21:27:59 (GMT)
commit9c1334ef7de0688d71e01ab2d6a6ff60bb12ae87 (patch)
tree80a4200209a23aac6884cb908b696c66cf3b7125 /Lib/test/test_pydoc.py
parentdf6931dbbcf3d0a33f5469e63c9944577a7c7382 (diff)
downloadcpython-9c1334ef7de0688d71e01ab2d6a6ff60bb12ae87.zip
cpython-9c1334ef7de0688d71e01ab2d6a6ff60bb12ae87.tar.gz
cpython-9c1334ef7de0688d71e01ab2d6a6ff60bb12ae87.tar.bz2
#17115: Remove what appears to be a useless chunk of code which broke
other tests.
Diffstat (limited to 'Lib/test/test_pydoc.py')
-rw-r--r--Lib/test/test_pydoc.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
index 8adcdd8..8524e5a 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -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)',