Commit e88f561a authored by Denis Bilenko's avatar Denis Bilenko

greentest.py: use ref=False for Timeout

parent 1b65fff8
...@@ -76,7 +76,7 @@ def wrap_timeout(timeout, method): ...@@ -76,7 +76,7 @@ def wrap_timeout(timeout, method):
@wraps(method) @wraps(method)
def wrapped(self, *args, **kwargs): def wrapped(self, *args, **kwargs):
with gevent.Timeout(timeout, 'test timed out'): with gevent.Timeout(timeout, 'test timed out', ref=False):
return method(self, *args, **kwargs) return method(self, *args, **kwargs)
return wrapped return wrapped
......
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