diff --git a/test.py b/test.py index cc2d416..0794191 100644 --- a/test.py +++ b/test.py @@ -56,8 +56,8 @@ def test_pipes_stderr(): with pipes(stdout=stdout, stderr=STDOUT) as (_stdout, _stderr): printf(u"Hellø") libc.fflush(c_stdout_p) + time.sleep(0.1) printf_err(u"Hi, stdérr") - libc.fflush(c_stderr_p) assert _stdout is stdout assert _stderr is None