diff --git a/tests/create_child_test.py b/tests/create_child_test.py index 0e8855f7..91ab4365 100644 --- a/tests/create_child_test.py +++ b/tests/create_child_test.py @@ -96,9 +96,8 @@ class CreateChildTest(StdinSockMixin, StdoutSockMixin, testlib.TestCase): class CreateChildMergedTest(StdinSockMixin, StdoutSockMixin, testlib.TestCase): def func(self, *args, **kwargs): - return mitogen.parent.create_child( - *args, merge_stdio=True, **kwargs - ) + kwargs['merge_stdio'] = True + return mitogen.parent.create_child(*args, **kwargs) def test_stderr(self): proc, info, buf = run_fd_check(self.func, 2, 'write',