void-packages/srcpkgs/python3-lxml/patches/fix-tests-io.patch
2023-08-09 19:03:38 +02:00

13 lines
447 B
Diff

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: