classification
Title: test_sax should skip when no xml parsers are found
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.4, Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: python-dev, r.david.murray, tucif
Priority: normal Keywords: patch

Created on 2013-03-18 03:40 by tucif, last changed 2013-03-18 04:28 by r.david.murray. This issue is now closed.

Files
File name Uploaded Description Edit
skiptestsax.patch tucif, 2013-03-18 03:44 review
Messages (3)
msg184419 - (view) Author: Rafael Santos (tucif) * Date: 2013-03-18 03:40
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
msg184422 - (view) Author: Roundup Robot (python-dev) Date: 2013-03-18 04:26
New changeset 114e363ebf83 by R David Murray in branch '3.2':
#17448: Make test_sax skip if there are no xml parsers.
http://hg.python.org/cpython/rev/114e363ebf83

New changeset 3ab80610b2a2 by R David Murray in branch '3.3':
Merge #17448: Make test_sax skip if there are no xml parsers.
http://hg.python.org/cpython/rev/3ab80610b2a2

New changeset 59621d4f1171 by R David Murray in branch 'default':
Merge #17448: Make test_sax skip if there are no xml parsers.
http://hg.python.org/cpython/rev/59621d4f1171
msg184423 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-03-18 04:28
Thanks, Rafael.
History
Date User Action Args
2013-03-18 04:28:22r.david.murraysetstatus: open -> closed

versions: + Python 3.2, Python 3.4
nosy: + r.david.murray

messages: + msg184423
resolution: fixed
stage: resolved
2013-03-18 04:26:03python-devsetnosy: + python-dev
messages: + msg184422
2013-03-18 03:45:12tucifsettitle: test_xml should skip when no xml parsers are found -> test_sax should skip when no xml parsers are found
2013-03-18 03:44:56tucifsetfiles: + skiptestsax.patch
keywords: + patch
2013-03-18 03:40:40tucifcreate