diff options
author | Robert Collins <robertc@robertcollins.net> | 2015-12-04 15:21:37 +1300 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2015-12-04 15:21:37 +1300 |
commit | 83d798006e1e7cde64cc2a9abfb3e1055f5e9176 (patch) | |
tree | 3954cd0d98b1dfa2952d4a248322d5c14e263e15 /testresources | |
parent | 38704d9e673999c1f3f610dc1c86eb4e661d3931 (diff) | |
download | testresources-git-83d798006e1e7cde64cc2a9abfb3e1055f5e9176.tar.gz |
More diagnostics on sort failures.
We're seeing this occasionally on 3.4 and 3.5 only.
Diffstat (limited to 'testresources')
-rw-r--r-- | testresources/tests/test_optimising_test_suite.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |