Kaydet (Commit) a01da93d authored tarafından Brian Curtin's avatar Brian Curtin

Fix a test_pydoc failure on Neal Norwitz's buildbot.

üst 6c9fc4cf
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment