]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tests: Change from expectedFailure to skip stable/3.0
authorStephen Finucane <stephen@that.guru>
Fri, 30 Sep 2022 15:42:52 +0000 (16:42 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 30 Sep 2022 17:02:15 +0000 (18:02 +0100)
Python 3.10 recognises unexpected passes as failures now.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 40133ec5a0004dba0232a89185df4cc2e90b5455)
(cherry picked from commit 04b7b671b04d636c17807b7ed6a6a3039586adcf)

patchwork/tests/test_series.py

index 2674923973b92fdb61c4db4409d94e504f968d45..4c09355202916b1743f7c6c627d9070ebcb0fd9d 100644 (file)
@@ -175,7 +175,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.