summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Borzenkov <snaury@gmail.com>2014-09-21 00:37:45 +0400
committerAlexey Borzenkov <snaury@gmail.com>2014-09-21 00:37:45 +0400
commitd6471ce4e25fcd44961369fa14926f8c364b8c21 (patch)
tree20231cdbcee10e6bfb6f91f09876c99ab5679333
parentd0e2a06b0fb36efffb4ac87d5d31951f5f448c0b (diff)
downloadgreenlet-d6471ce4e25fcd44961369fa14926f8c364b8c21.tar.gz
Disable unstable leak tests on Python 2.6
-rw-r--r--tests/test_leaks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_leaks.py b/tests/test_leaks.py
index 85e0663..a5e48bd 100644
--- a/tests/test_leaks.py
+++ b/tests/test_leaks.py
@@ -25,8 +25,9 @@ class ArgRefcountTests(unittest.TestCase):
g.switch(**kwargs)
self.assertEqual(sys.getrefcount(kwargs), 2)
- if greenlet.GREENLET_USE_GC:
+ if greenlet.GREENLET_USE_GC and sys.version_info[:2] != (2, 6):
# These only work with greenlet gc support
+ # Disabled on Python 2.6 as too unstable
def test_threaded_leak(self):
gg = []