summaryrefslogtreecommitdiff
path: root/test/requirements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-06-30 23:55:32 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-06-30 23:55:32 -0400
commit38c5e870a7883df0ae104df828217e326f6cff6a (patch)
treec58d5437c4637df427c29bae3e543ea37f324d74 /test/requirements.py
parent1eaa003e023aa477ff43262050757e9bfd642c20 (diff)
downloadsqlalchemy-38c5e870a7883df0ae104df828217e326f6cff6a.tar.gz
mark the tests that seem to be segfauling py3k+coverage so that we can exclude them
at the nose command line
Diffstat (limited to 'test/requirements.py')
-rw-r--r--test/requirements.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/requirements.py b/test/requirements.py
index 06f76c1b3..e2637087d 100644
--- a/test/requirements.py
+++ b/test/requirements.py
@@ -648,6 +648,15 @@ class DefaultRequirements(SuiteRequirements):
"Not supported on MySQL + Windows"
)
+ def threading_with_mock(self, fn):
+ """Mark tests that use threading and mock at the same time, so they
+ can be excluded using "-a '!threading_with_mock'" - stability
+ issues have been observed with coverage + python 3.3
+
+ """
+ fn.threading_with_mock = True
+ return fn
+
@property
def selectone(self):
"""target driver must support the literal statement 'select 1'"""