New submission from Serhiy Storchaka <[email protected]>:
$ ./python Lib/test/test_pydoc.py
...
======================================================================
ERROR: test_mixed_case_module_names_are_lower_cased (__main__.PydocDocTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_pydoc.py", line 460, in
test_mixed_case_module_names_are_lower_cased
self.assertIn('xml.etree.elementtree', doc_link)
File "/home/serhiy/py/cpython/Lib/unittest/case.py", line 1103, in assertIn
if member not in container:
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
Since it works in 3.6, seems the regression was introduced in issue32031.
----------
components: Tests
messages: 322111
nosy: serhiy.storchaka, xdegaye
priority: normal
severity: normal
status: open
title: Lib/test/test_pydoc.py failed when ran as a script
type: behavior
versions: Python 3.7, Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34182>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com