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

2013-03-17 Thread Rafael Santos

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 rep...@bugs.python.org
http://bugs.python.org/issue17448
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-03-17 Thread Rafael Santos

Changes by Rafael Santos tuci...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file29435/skiptestsax.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17448
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com