Commit 301d2b03 authored by Jason Madden's avatar Jason Madden

Restore Travis workaround. [skip ci]

parent 735c7899
...@@ -189,6 +189,10 @@ class TestCase(greentest.TestCase): ...@@ -189,6 +189,10 @@ class TestCase(greentest.TestCase):
self.assert_error(TypeError) self.assert_error(TypeError)
finally: finally:
self.server.stop() self.server.stop()
# XXX: There's something unreachable (with a traceback?)
# We need to clear it to make the leak checks work on Travis;
# so far I can't reproduce it locally on OS X.
import gc; gc.collect()
def ServerClass(self, *args, **kwargs): def ServerClass(self, *args, **kwargs):
kwargs.setdefault('spawn', self.get_spawn()) kwargs.setdefault('spawn', self.get_spawn())
......
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