From 97de6a0175d61a716ed92276a08f767697208bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 3 May 2019 17:48:33 +0200 Subject: [PATCH] Remove dropped use-cases from tests --- tests.py | 17 ----------------- 1 file changed, 17 deletions(-) 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',