Skip to content

Commit 4fab341

Browse files
committed
Split test_outstream in two
1 parent e302c40 commit 4fab341

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_io.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def test_background_socket(iopub_thread):
101101
sock.send(b"hi")
102102

103103

104-
async def test_outstream(iopub_thread):
104+
async def test_outstream1(iopub_thread):
105105
session = Session()
106106
pub = iopub_thread.socket
107107

@@ -115,6 +115,9 @@ async def test_outstream(iopub_thread):
115115
stream = OutStream(session, iopub_thread, "stdout", watchfd=False)
116116
stream.close()
117117

118+
119+
async def test_outstream2(iopub_thread):
120+
session = Session()
118121
stream = OutStream(session, iopub_thread, "stdout", isatty=True, echo=io.StringIO())
119122

120123
with stream:

0 commit comments

Comments
 (0)