[stream-refactor] another 2.4 fix for create_child_test

This commit is contained in:
David Wilson 2019-07-25 12:02:00 +01:00
parent 054643783c
commit 856dfcebcd
1 changed files with 2 additions and 3 deletions

View File

@ -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',