[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-18 Thread Xavier de Gaye

Change by Xavier de Gaye :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-18 Thread Xavier de Gaye

Xavier de Gaye  added the comment:


New changeset ebfaa71c2e8c018f72c179395dafaf06dcaf29e2 by xdegaye in branch 
'master':
bpo-32031: Fix pydoc `test_mixed_case_module_names_are_lower_cased` (GH-4441)
https://github.com/python/cpython/commit/ebfaa71c2e8c018f72c179395dafaf06dcaf29e2


--

___
Python tracker 

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



[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-17 Thread Xavier de Gaye

Change by Xavier de Gaye :


--
keywords: +patch
pull_requests: +4383
stage: needs patch -> patch review

___
Python tracker 

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



[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-17 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

The path returned by inspect.getabsfile(xml.etree.ElementTree) is not the 
canonical path, hence the test failure.

--

___
Python tracker 

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



[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-17 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

The error:

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_cased
self.assertIn('xml.etree.elementtree', doc_link)
  File "/sdcard/org.python/lib/python3.7/unittest/case.py", line 1103, in 
assertIn
if member not in container:
TypeError: argument of type 'NoneType' is not iterable

test_pydoc failed

--

___
Python tracker 

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



[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-15 Thread Xavier de Gaye

New submission from Xavier de Gaye :

test_mixed_case_module_names_are_lower_cased fails when there is a symlink in 
the directory path of the installed standard library.

--
components: Tests
messages: 306259
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: Do not use the canonical path in pydoc 
test_mixed_case_module_names_are_lower_cased
type: behavior
versions: Python 3.7

___
Python tracker 

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