commit | a01da93d855de043e3ae3a8478318f3fe099a728 | [log] [tgz] |
---|---|---|
author | Brian Curtin <brian.curtin@gmail.com> | Thu Apr 01 04:02:00 2010 +0000 |
committer | Brian Curtin <brian.curtin@gmail.com> | Thu Apr 01 04:02:00 2010 +0000 |
tree | 54af1d4e1a9f224fb1a359d153630c9b4193f5e8 | |
parent | 6c9fc4cf2b84e1198cf5fd99a742333f735038f7 [diff] |
Fix a test_pydoc failure on Neal Norwitz's buildbot.
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 @@ '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: