From a01da93d855de043e3ae3a8478318f3fe099a728 Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Thu, 1 Apr 2010 04:02:00 +0000 Subject: Fix a test_pydoc failure on Neal Norwitz's buildbot. --- Lib/pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12