Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/greenlet/tests/test_leaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
import time
import weakref
import threading
import unittest


import greenlet
from . import TestCase
from . import PY314
from .leakcheck import fails_leakcheck
from .leakcheck import ignores_leakcheck
from .leakcheck import RUNNING_ON_MANYLINUX
from .leakcheck import SKIP_LEAKCHECKS

# pylint:disable=protected-access

Expand All @@ -39,6 +40,7 @@ def reset(cls):
cls.EXTANT_INSTANCES.clear()


@unittest.skipIf(SKIP_LEAKCHECKS, "Leak checks disabled")
class TestLeaks(TestCase):

def test_arg_refs(self):
Expand Down Expand Up @@ -313,8 +315,6 @@ def _only_test_some_versions(self):
assert sys.version_info[0] >= 3
if sys.version_info[:2] < (3, 8):
self.skipTest('Only observed on 3.11')
if RUNNING_ON_MANYLINUX:
self.skipTest("Slow and not worth repeating here")

@ignores_leakcheck
# Because we're just trying to track raw memory, not objects, and running
Expand Down
Loading