diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-01 04:02:00 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-01 04:02:00 (GMT) |
commit | a01da93d855de043e3ae3a8478318f3fe099a728 (patch) | |
tree | 54af1d4e1a9f224fb1a359d153630c9b4193f5e8 | |
parent | 6c9fc4cf2b84e1198cf5fd99a742333f735038f7 (diff) | |
download | cpython-a01da93d855de043e3ae3a8478318f3fe099a728.zip cpython-a01da93d855de043e3ae3a8478318f3fe099a728.tar.gz cpython-a01da93d855de043e3ae3a8478318f3fe099a728.tar.bz2 |
Fix a test_pydoc failure on Neal Norwitz's buildbot.
-rwxr-xr-x | Lib/pydoc.py | 2 |
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: |