Issue 3591: elementtree tests do not include bytes handling (original) (raw)

Created on 2008-08-18 16:57 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg71351 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2008-08-18 16:57
In py3k, there should be explicit tests for byte string input (in addition to unicode input) to elementtree's parser, including non-UTF8 encodings and non-ASCII chars.
msg109653 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-07-09 01:06
Have the tests been incorporated into py3k so this can be closed, or is it still valid?
msg111160 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-07-22 10:03
test_xml_etree.py has some tests about bytes input (check_issue6233) but these are only working cases. Tests with wrong encodings should be added.
msg194059 - (view) Author: Eli Bendersky (eli.bendersky) * (Python committer) Date: 2013-08-01 12:44
Quite a bit of encoding-related tests were added recently (by Serhiy, IIRC). Unless there are objections or more specific test suggestions, I will close this issue in a few days.
History
Date User Action Args
2022-04-11 14:56:37 admin set github: 47841
2013-08-03 22:19:11 eli.bendersky set status: open -> closedresolution: fixedstage: resolved
2013-08-01 12:44:52 eli.bendersky set messages: +
2013-07-06 06:47:17 serhiy.storchaka set nosy: + eli.bendersky, serhiy.storchaka
2013-07-06 00:42:00 christian.heimes set versions: + Python 3.4, - Python 3.0, Python 3.1, Python 3.2
2011-03-11 01:22:41 santoso.wijaya set nosy: + santoso.wijayaversions: + Python 3.1, Python 3.2, Python 3.3
2010-07-22 10:03:57 amaury.forgeotdarc set nosy: + amaury.forgeotdarcmessages: +
2010-07-09 01:06:30 BreamoreBoy set nosy: + BreamoreBoymessages: +
2008-08-18 16:57:48 pitrou create