From c308ca14278da92c657c1a3a079fafb93443e0f0 Mon Sep 17 00:00:00 2001 From: Free Ekanayaka Date: Sat, 26 Nov 2016 15:37:57 +0000 Subject: Skip flaky testBasicSortTests on Python 3 --- setup.cfg | 1 + testresources/tests/test_optimising_test_suite.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 1830e9d..36638f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifier = [extras] test = + six docutils fixtures testtools diff --git a/testresources/tests/test_optimising_test_suite.py b/testresources/tests/test_optimising_test_suite.py index 8293885..575c051 100644 --- a/testresources/tests/test_optimising_test_suite.py +++ b/testresources/tests/test_optimising_test_suite.py @@ -15,6 +15,7 @@ # license. # +import six import testtools import random import testresources @@ -498,6 +499,7 @@ class TestGraphStuff(testtools.TestCase): permutations.append([case4, case1, case3, case2]) return permutations + @unittest2.skipIf(six.PY3, "Flaky on Python 3, see LP #1645008") def testBasicSortTests(self): # Test every permutation of inputs, with legacy tests. # Cannot use equal costs because of the use of -- cgit v1.2.1