Issue 28907: test_pydoc fails if build is in sub-directory (original) (raw)
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.