From: Brett Cannon Date: Sat, 4 May 2013 21:27:59 +0000 (-0400) Subject: #17115: Remove what appears to be a useless chunk of code which broke X-Git-Tag: v3.4.0a1~804 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c1334ef7de0688d71e01ab2d6a6ff60bb12ae87;p=thirdparty%2FPython%2Fcpython.git #17115: Remove what appears to be a useless chunk of code which broke other tests. --- diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 8adcdd87a480..8524e5aa61c0 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)',