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 604dc15 commit a88a0b4Copy full SHA for a88a0b4
Lib/test/test_xml_etree.py
@@ -471,7 +471,7 @@ def test_parse_encoding_warn(self):
471
self.assertIn(
472
"For file objects containing XML data"
473
"with non-ASCII and non-UTF-8 encoding (e.g. ISO 8859-1), "
474
- "the file must have been opened in binary mode.",
+ "the file must have been opened in binary mode.",
475
str(cm.warnings[0].message))
476
477
def test_parsefile(self):
0 commit comments