You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased #76212
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-11-18.17:21:38.016>created_at=<Date2017-11-15.09:37:41.679>labels= ['3.7', 'type-bug', 'tests']
title='Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased'updated_at=<Date2017-11-18.17:21:38.015>user='https://github.com/xdegaye'
generic_x86_64:/data/local/tmp/python $ python -m test test_pydoc
Run tests sequentially
0:00:00 [1/1] test_pydoc
test test_pydoc failed -- Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/test/test_pydoc.py", line 459, in test_mixed_case_module_names_are_lower_casedself.assertIn('xml.etree.elementtree', doc_link)
File "/sdcard/org.python/lib/python3.7/unittest/case.py", line 1103, in assertInif member notin container:
TypeError: argument of type 'NoneType' is not iterable
test_pydoc failed
xdegaye commented on Nov 17, 2017
xdegayemannequin
MannequinAuthor
More actions
The path returned by inspect.getabsfile(xml.etree.ElementTree) is not the canonical path, hence the test failure.
xdegaye commented on Nov 18, 2017
xdegayemannequin
MannequinAuthor
More actions
New changeset ebfaa71 by xdegaye in branch 'master': bpo-32031: Fix pydoc test_mixed_case_module_names_are_lower_cased (GH-4441) ebfaa71
Activity
xdegaye commentedon Nov 15, 2017
test_mixed_case_module_names_are_lower_cased fails when there is a symlink in the directory path of the installed standard library.
xdegaye commentedon Nov 17, 2017
The error:
test_pydoc failed
xdegaye commentedon Nov 17, 2017
The path returned by inspect.getabsfile(xml.etree.ElementTree) is not the canonical path, hence the test failure.
xdegaye commentedon Nov 18, 2017
New changeset ebfaa71 by xdegaye in branch 'master':
bpo-32031: Fix pydoc
test_mixed_case_module_names_are_lower_cased(GH-4441)ebfaa71