We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca044ce commit 2d98fffCopy full SHA for 2d98fff
Lib/test/test_xml_etree.py
@@ -469,7 +469,7 @@ def test_parse_encoding_warn(self):
469
with open(SIMPLE_XMLFILE, 'r', encoding='ISO-8859-1') as fp:
470
ET.parse(fp)
471
self.assertIn(
472
- "For file objects containing XML data"
+ "For file objects containing XML data "
473
"with non-ASCII and non-UTF-8 encoding (for example. ISO 8859-1), "
474
"the file must have been opened in binary mode.",
475
str(cm.warnings[0].message))
0 commit comments