[issue22895] regression introduced by the fix for issue #22462
Matthias Klose
report at bugs.python.org
Tue Nov 18 14:44:03 CET 2014
Matthias Klose added the comment:
[258/383] test_pyexpat
test test_pyexpat failed -- Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_pyexpat.py", line 432, in test_exception
parser.Parse(b"<a><b><c/></b></a>", 1)
File "../Modules/pyexpat.c", line 405, in StartElement
File "/usr/lib/python3.4/test/test_pyexpat.py", line 422, in StartElementHandler
raise RuntimeError(name)
RuntimeError: a
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_pyexpat.py", line 447, in test_exception
self.assertIn('call_with_frame("StartElement"', entries[1][3])
File "/usr/lib/python3.4/unittest/case.py", line 1053, in assertIn
if member not in container:
TypeError: argument of type 'NoneType' is not iterable
test_exception (test.test_pyexpat.HandlerExceptionTest) ... ERROR
======================================================================
ERROR: test_exception (test.test_pyexpat.HandlerExceptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_pyexpat.py", line 432, in test_exception
parser.Parse(b"<a><b><c/></b></a>", 1)
File "../Modules/pyexpat.c", line 405, in StartElement
File "/usr/lib/python3.4/test/test_pyexpat.py", line 422, in StartElementHandler
raise RuntimeError(name)
RuntimeError: a
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/test/test_pyexpat.py", line 447, in test_exception
self.assertIn('call_with_frame("StartElement"', entries[1][3])
File "/usr/lib/python3.4/unittest/case.py", line 1053, in assertIn
if member not in container:
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
Ran 36 tests in 0.016s
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22895>
_______________________________________
More information about the Python-bugs-list
mailing list