summaryrefslogtreecommitdiff
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:02:00 +0000
committerBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:02:00 +0000
commita01da93d855de043e3ae3a8478318f3fe099a728 (patch)
tree54af1d4e1a9f224fb1a359d153630c9b4193f5e8 /Lib/pydoc.py
parent6c9fc4cf2b84e1198cf5fd99a742333f735038f7 (diff)
downloadcpython-git-a01da93d855de043e3ae3a8478318f3fe099a728.tar.gz
Fix a test_pydoc failure on Neal Norwitz's buildbot.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 13b4904b25..dd7eb38f2c 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: