Index: lxml-4.2.0/src/lxml/tests/test_threading.py =================================================================== --- lxml-4.2.0.orig/src/lxml/tests/test_threading.py +++ lxml-4.2.0/src/lxml/tests/test_threading.py @@ -153,7 +153,7 @@ class ThreadingTestCase(HelperTestCase): self.assertTrue(len(log)) if last_log is not None: self.assertEqual(len(last_log), len(log)) - self.assertEqual(4, len(log)) + self.assertEqual(2, len(log)) for error in log: self.assertTrue(':ERROR:XSLT:' in str(error)) last_log = log