[issue17448] test_xml should skip when no xml parsers are found

Rafael Santos report at bugs.python.org
Mon Mar 18 04:40:40 CET 2013


New submission from Rafael Santos:

When running test_xml, an exception is thrown if no SAXReader is available, but the test is not skipped.


[1/1] test_sax
test test_sax crashed -- Traceback (most recent call last):
  File "/Users/tucif/Documents/dev/cpython/cpython/Lib/test/test_sax.py", line 7, in <module>
    make_parser()
  File "/Users/tucif/Documents/dev/cpython/cpython/Lib/xml/sax/__init__.py", line 90, in make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

----------
components: Tests
messages: 184419
nosy: tucif
priority: normal
severity: normal
status: open
title: test_xml should skip when no xml parsers are found
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17448>
_______________________________________


More information about the Python-bugs-list mailing list