summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:02:00 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:02:00 (GMT)
commita01da93d855de043e3ae3a8478318f3fe099a728 (patch)
tree54af1d4e1a9f224fb1a359d153630c9b4193f5e8
parent6c9fc4cf2b84e1198cf5fd99a742333f735038f7 (diff)
downloadcpython-a01da93d855de043e3ae3a8478318f3fe099a728.zip
cpython-a01da93d855de043e3ae3a8478318f3fe099a728.tar.gz
cpython-a01da93d855de043e3ae3a8478318f3fe099a728.tar.bz2
Fix a test_pydoc failure on Neal Norwitz's buildbot.
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 13b4904..dd7eb38 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -357,7 +357,7 @@ class Doc:
'thread', 'zipimport') or
(file.startswith(basedir) and
not file.startswith(os.path.join(basedir, 'site-packages')))) and
- object.__name__ != 'xml.etree'):
+ object.__name__ not in ('xml.etree', 'test.pydoc_mod')):
if docloc.startswith("http://"):
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
else: