[New-bugs-announce] [issue28907] test_pydoc fails if build is in sub-directory

Neil Schemenauer report at bugs.python.org
Thu Dec 8 14:10:18 EST 2016


New submission from Neil Schemenauer:

test_pydoc is failing for me for 3.6rc1.  I build in a sub-directory, e.g. Python-3.6.0rc1/build-opt.  The root of the issue is that pydoc getdocloc() is broken.  It cannot build 'basedir' as it does and assume that is the location of standard modules.  Fixing that is tricky though, I will open a separate issue for that.

For this issue, I think the test_mixed_case_module_names_are_lower_cased() function needs to be fixed to handle that case that get_pydoc_link() returns None.  I.e. it thinks that the module is not a standard module and so returns no link.

Attached is a patch.  It is trivial and I think should go into 3.6.

----------
assignee: r.david.murray
components: Tests
files: test_pydoc_fix.txt
messages: 282728
nosy: nascheme, r.david.murray
priority: high
severity: normal
stage: patch review
status: open
title: test_pydoc fails if build is in sub-directory
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file45799/test_pydoc_fix.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28907>
_______________________________________


More information about the New-bugs-announce mailing list