From 856dfcebcdd583998b63727f0cb3f84d7d008a70 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 25 Jul 2019 12:02:00 +0100 Subject: [PATCH] [stream-refactor] another 2.4 fix for 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 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',