diff --git a/pipe_io_server/test_pipe_io_server.py b/pipe_io_server/test_pipe_io_server.py index 62a13df..5ed3612 100644 --- a/pipe_io_server/test_pipe_io_server.py +++ b/pipe_io_server/test_pipe_io_server.py @@ -92,7 +92,7 @@ def test_start_stop(): def test_start_open_stop(): pipe_io = EchoPipeIOServer(*get_test_init_params()) pipe_io.start() - with IOPipes(pipe_io.in_pipe, pipe_io.out_pipe) as iopipes: + with IOPipes(pipe_io.in_pipe, pipe_io.out_pipe): raise_if_thread_blocks(target=pipe_io.wait, unblock_function=pipe_io.stop)