From 83d798006e1e7cde64cc2a9abfb3e1055f5e9176 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Fri, 4 Dec 2015 15:21:37 +1300 Subject: More diagnostics on sort failures. We're seeing this occasionally on 3.4 and 3.5 only. --- testresources/tests/test_optimising_test_suite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testresources/tests/test_optimising_test_suite.py b/testresources/tests/test_optimising_test_suite.py index cf13755..c319f1f 100644 --- a/testresources/tests/test_optimising_test_suite.py +++ b/testresources/tests/test_optimising_test_suite.py @@ -510,7 +510,8 @@ class TestGraphStuff(testtools.TestCase): self.assertIn( self.sortTests(permutation), [ [self.case1, self.case2, self.case3, self.case4], - [self.case3, self.case2, self.case1, self.case4]]) + [self.case3, self.case2, self.case1, self.case4]], + "failed with permutation %s" % (permutation,)) def testGlobalMinimum(self): # When a local minimum leads to a global non-minum, the global -- cgit v1.2.1