Commit b45460cc authored by Jason Madden's avatar Jason Madden

Stop ignoring FrameType and TracebackType during leakchecks.

They're important objects. Locally, the 3.11 tests pass fine this way.

The 2.7 tests had two failures, one from being unable to make a connection in test__server, and one from a timeout in test__doctest. I suspect those are unrelated; lets see what CI says.
parent 93c6542e
......@@ -21,7 +21,6 @@ from __future__ import print_function
import sys
import gc
import types
from functools import wraps
import unittest
......@@ -52,8 +51,10 @@ def ignores_leakcheck(func):
class _RefCountChecker(object):
# Some builtin things that we ignore
IGNORED_TYPES = (tuple, dict, types.FrameType, types.TracebackType)
# Some builtin things that we ignore.
# For awhile, we also ignored types.FrameType and types.TracebackType,
# but those are important and often involved in leaks.
IGNORED_TYPES = (tuple, dict,)
try:
CALLBACK_KIND = gevent.core.callback
except AttributeError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment