Commit 86b23311 authored by Jason Madden's avatar Jason Madden

Always use the CountingHub, even when running leakchecks. Some tests, like...

Always use the CountingHub, even when running leakchecks. Some tests, like test__issue607, depend on subclasses of ExpectedException not making it to the parent. The previous change to only use it sometimes (like in the past) broke those tests.
parent 13353d61
......@@ -378,8 +378,7 @@ class CountingHub(_original_Hub):
return
return _original_Hub.handle_error(self, context, type, value, tb)
if not RUN_LEAKCHECKS:
gevent.hub.Hub = CountingHub
gevent.hub.Hub = CountingHub
def test_outer_timeout_is_not_lost(self):
......
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