diff options
author | Alexey Borzenkov <snaury@gmail.com> | 2014-09-21 00:37:45 +0400 |
---|---|---|
committer | Alexey Borzenkov <snaury@gmail.com> | 2014-09-21 00:37:45 +0400 |
commit | d6471ce4e25fcd44961369fa14926f8c364b8c21 (patch) | |
tree | 20231cdbcee10e6bfb6f91f09876c99ab5679333 | |
parent | d0e2a06b0fb36efffb4ac87d5d31951f5f448c0b (diff) | |
download | greenlet-d6471ce4e25fcd44961369fa14926f8c364b8c21.tar.gz |
Disable unstable leak tests on Python 2.6
-rw-r--r-- | tests/test_leaks.py | 3 |
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 = [] |