diff --git a/tests.py b/tests.py index 99321bd..04014c7 100644 --- a/tests.py +++ b/tests.py @@ -86,23 +86,6 @@ def test_stop(): assert not exists(path) -def test_eof_stop(): - pipe_io = build_pipe_io_server() - def open_close_in_pipe(): - open(pipe_io.in_pipe, 'wb').close() - raise_if_thread_blocks(pipe_io.run, open_close_in_pipe) - - -def test_out_pipe_closed_stop(): - pipe_io = build_pipe_io_server() - def close_out_pipe_and_write(): - in_pipe = open(pipe_io.in_pipe, 'wb') - open(pipe_io.out_pipe, 'rb').close() - in_pipe.write(b'lel\n') - in_pipe.flush() - raise_if_thread_blocks(pipe_io.run, close_out_pipe_and_write) - - @pytest.mark.parametrize( 'test_data', [ 'Cats and cheese',