[stream-refactor] yet another 2.4 issue in create_child_test

This commit is contained in:
David Wilson 2019-07-25 13:54:02 +01:00
parent 65e31f63fe
commit cd0a557602
1 changed files with 2 additions and 3 deletions

View File

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