Created attachment 1542849 [details] build.log from copr ====================================================================== FAIL: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 152, in test_odt_basic self.process_test('odt_basic.txt', 'odt_basic.odt', File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test self.assertEqual(content1, content2, msg) File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual DocutilsTestSupport.StandardTestCase.assertEqual(self, File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual raise self.failureException( AssertionError: content.xml not equal: expected len: 1961 actual len: 1961 ====================================================================== FAIL: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 181, in test_odt_custom_headfoot self.process_test('odt_custom_headfoot.txt', 'odt_custom_headfoot.odt', File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test self.assertEqual(content1, content2, msg) File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual DocutilsTestSupport.StandardTestCase.assertEqual(self, File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual raise self.failureException( AssertionError: content.xml not equal: expected len: 1922 actual len: 1922 ====================================================================== FAIL: test_odt_nested_class (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 157, in test_odt_nested_class self.process_test('odt_nested_class.txt', File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test self.assertEqual(content1, content2, msg) File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual DocutilsTestSupport.StandardTestCase.assertEqual(self, File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual raise self.failureException( AssertionError: content.xml not equal: expected len: 1978 actual len: 1978 ====================================================================== FAIL: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 171, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test self.assertEqual(content1, content2, msg) File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual DocutilsTestSupport.StandardTestCase.assertEqual(self, File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual raise self.failureException( AssertionError: content.xml not equal: expected len: 46128 actual len: 46128 ---------------------------------------------------------------------- Ran 1337 tests in 8.581s FAILED (failures=4)
Created attachment 1542850 [details] root.log from copr
I reported the bug upstream: https://sourceforge.net/p/docutils/bugs/359/ It's caused by https://bugs.python.org/issue34160 change.
Note: this is just a bad test, not an actual issue with doctest. Worst case scenario, we can exclude those tests.
s/doctest/docutils/
I think we will wait for the final. I dont see any response to your upstream bug yet tho. ;(
I need to track this. We cannot wait for the final, the plan is to start with a side tag with first beta.
Ah, sorry about that... must have read it too fast yesterday.
Shall I just commit the test skip?
Yes, please do.