summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFree Ekanayaka <free@ekanayaka.io>2016-11-26 15:37:57 +0000
committerFree Ekanayaka <free@ekanayaka.io>2016-11-26 15:37:57 +0000
commitc308ca14278da92c657c1a3a079fafb93443e0f0 (patch)
treef3771d84762012451a9bc09e9443363091a03454
parent83cb0eccc37c2422d1c82d59fa34b07e81a602f0 (diff)
downloadtestresources-git-c308ca14278da92c657c1a3a079fafb93443e0f0.tar.gz
Skip flaky testBasicSortTests on Python 3skip-flaky-testBasicSortTests
-rw-r--r--setup.cfg1
-rw-r--r--testresources/tests/test_optimising_test_suite.py2
2 files changed, 3 insertions, 0 deletions
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