From cd0a557602495914ed59e43af5d762f605932a6a Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 25 Jul 2019 13:54:02 +0100 Subject: [PATCH] [stream-refactor] yet another 2.4 issue in create_child_test --- tests/create_child_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/create_child_test.py b/tests/create_child_test.py index 91ab4365..21591fe8 100644 --- a/tests/create_child_test.py +++ b/tests/create_child_test.py @@ -116,9 +116,8 @@ class CreateChildMergedTest(StdinSockMixin, StdoutSockMixin, class CreateChildStderrPipeTest(StdinSockMixin, StdoutSockMixin, testlib.TestCase): def func(self, *args, **kwargs): - return mitogen.parent.create_child( - *args, stderr_pipe=True, **kwargs - ) + kwargs['stderr_pipe'] = True + return mitogen.parent.create_child(*args, **kwargs) def test_stderr(self): proc, info, buf = run_fd_check(self.func, 2, 'write',