Tidy up test.

pull/35/head
David Wilson 7 years ago
parent 066b39d570
commit 8f08aa4fc8

@ -62,9 +62,7 @@ class CallFunctionTest(unittest.TestCase):
except mitogen.core.StreamError, e: except mitogen.core.StreamError, e:
pass pass
assert e[0] == ( assert e[0] == "attempted unpickle from 'call_function_test'"
"attempted unpickle from 'call_function_test'"
)
def test_returns_dead(self): def test_returns_dead(self):
assert mitogen.core._DEAD == self.local.call(func_returns_dead) assert mitogen.core._DEAD == self.local.call(func_returns_dead)

Loading…
Cancel
Save