15 lines
533 B
Diff
15 lines
533 B
Diff
From alpine: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/py3-lxml
|
|
|
|
diff --git a/src/lxml/tests/test_io.py b/src/lxml/tests/test_io.py
|
|
index cbdbcef..efbd3fd 100644
|
|
--- a/src/lxml/tests/test_io.py
|
|
+++ b/src/lxml/tests/test_io.py
|
|
@@ -312,6 +312,7 @@ class _IOTestCaseBase(HelperTestCase):
|
|
self.assertEqual(5, len(boms))
|
|
xml = uxml.encode("utf-16")
|
|
self.assertTrue(xml[:2] in boms, repr(xml[:2]))
|
|
+ return True
|
|
|
|
f = tempfile.NamedTemporaryFile(delete=False)
|
|
try:
|