[Python-checkins] cpython: #17115: Remove what appears to be a useless chunk of code which broke

brett.cannon python-checkins at python.org
Sat May 4 23:29:44 CEST 2013


http://hg.python.org/cpython/rev/bb023c3426bc
changeset:   83617:bb023c3426bc
parent:      83613:0b34fd75b937
user:        Brett Cannon <brett at python.org>
date:        Sat May 04 17:27:59 2013 -0400
summary:
  #17115: Remove what appears to be a useless chunk of code which broke
other tests.

files:
  Lib/test/test_pydoc.py |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -26,10 +26,6 @@
 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)',

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list