|
|
@ -116,9 +116,8 @@ class CreateChildMergedTest(StdinSockMixin, StdoutSockMixin,
|
|
|
|
class CreateChildStderrPipeTest(StdinSockMixin, StdoutSockMixin,
|
|
|
|
class CreateChildStderrPipeTest(StdinSockMixin, StdoutSockMixin,
|
|
|
|
testlib.TestCase):
|
|
|
|
testlib.TestCase):
|
|
|
|
def func(self, *args, **kwargs):
|
|
|
|
def func(self, *args, **kwargs):
|
|
|
|
return mitogen.parent.create_child(
|
|
|
|
kwargs['stderr_pipe'] = True
|
|
|
|
*args, stderr_pipe=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',
|
|
|
|