summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2015-12-04 15:21:37 +1300
committerRobert Collins <robertc@robertcollins.net>2015-12-04 15:21:37 +1300
commit83d798006e1e7cde64cc2a9abfb3e1055f5e9176 (patch)
tree3954cd0d98b1dfa2952d4a248322d5c14e263e15
parent38704d9e673999c1f3f610dc1c86eb4e661d3931 (diff)
downloadtestresources-git-83d798006e1e7cde64cc2a9abfb3e1055f5e9176.tar.gz
More diagnostics on sort failures.
We're seeing this occasionally on 3.4 and 3.5 only.
-rw-r--r--testresources/tests/test_optimising_test_suite.py3
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