Commit 810431d1 authored by Denis Bilenko's avatar Denis Bilenko

greentest: 2.4 fix

parent 945afb2c
......@@ -71,7 +71,7 @@ class TestCase(unittest.TestCase):
if hasattr(gevent.core, '_event_count'):
event_count = (gevent.core._event_count(), gevent.core._event_count_active())
if event_count > self._event_count:
args = (type(self).__name__, self._testMethodName, self._event_count, event_count)
args = (type(self).__name__, self.testname, self._event_count, event_count)
sys.stderr.write('WARNING: %s.%s event count was %s, now %s\n' % args)
gevent.sleep(0.1)
else:
......
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