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

2017-11-06 Thread Neil Schemenauer

Neil Schemenauer  added the comment:

Pretty sure the fix for bug 31028 also fixed this.  Closing.

--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> test_pydoc fails when run directly

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2017-06-09 Thread Neil Schemenauer

Changes by Neil Schemenauer :


--
pull_requests: +2104

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2016-12-08 Thread Neil Schemenauer

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com