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