Remove dropped use-cases from tests
This commit is contained in:
parent
dbe5b10482
commit
97de6a0175
17
tests.py
17
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',
|
||||
|
Loading…
Reference in New Issue
Block a user