[stream-refactor] another 2.4 fix for create_child_test

pull/607/head
David Wilson 5 years ago
parent 054643783c
commit 856dfcebcd

@ -96,9 +96,8 @@ class CreateChildTest(StdinSockMixin, StdoutSockMixin, testlib.TestCase):
class CreateChildMergedTest(StdinSockMixin, StdoutSockMixin, class CreateChildMergedTest(StdinSockMixin, StdoutSockMixin,
testlib.TestCase): testlib.TestCase):
def func(self, *args, **kwargs): def func(self, *args, **kwargs):
return mitogen.parent.create_child( kwargs['merge_stdio'] = True
*args, merge_stdio=True, **kwargs return mitogen.parent.create_child(*args, **kwargs)
)
def test_stderr(self): def test_stderr(self):
proc, info, buf = run_fd_check(self.func, 2, 'write', proc, info, buf = run_fd_check(self.func, 2, 'write',

Loading…
Cancel
Save