[PATCH 01/10] tests: Change from expectedFailure to skip

Stephen Finucane stephen at that.guru
Sat Oct 1 02:19:12 AEST 2022


Python 3.10 recognises unexpected passes as failures now.

Signed-off-by: Stephen Finucane <stephen at that.guru>
---
 patchwork/tests/test_series.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git patchwork/tests/test_series.py patchwork/tests/test_series.py
index 8d8c4e14..d3e20e08 100644
--- patchwork/tests/test_series.py
+++ patchwork/tests/test_series.py
@@ -178,7 +178,7 @@ class BaseSeriesTest(_BaseTestCase):
         self.assertSerialized(patches, [2])
         self.assertSerialized(covers, [1])
 
-    @unittest.expectedFailure
+    @unittest.skip('Flaky test')
     def test_duplicated(self):
         """Series received on multiple mailing lists.
 
-- 
2.37.3



More information about the Patchwork mailing list