File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,9 @@ filterwarnings= [
192
192
193
193
# ignore unclosed sqlite in traits
194
194
" ignore:unclosed database in <sqlite3.Connection:ResourceWarning" ,
195
+
196
+ # ignore timeout cancel coroutine not awaited in zmq-anyio
197
+ " ignore: coroutine 'Poller._apoll.<locals>.trigger_timeout' was never awaited" ,
195
198
]
196
199
197
200
[tool .coverage .report ]
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ async def test_io_isatty(iopub_thread):
67
67
assert stream .isatty ()
68
68
69
69
70
- @pytest .mark .skip (reason = "FIXME" )
71
70
async def test_io_thread (anyio_backend , iopub_thread ):
72
71
thread = iopub_thread
73
72
thread ._setup_pipe_in ()
@@ -80,8 +79,6 @@ async def test_io_thread(anyio_backend, iopub_thread):
80
79
thread ._really_send ([b"hi" ])
81
80
ctx1 .destroy ()
82
81
thread .stop ()
83
- thread .close ()
84
- thread ._really_send (None )
85
82
86
83
87
84
async def test_background_socket (anyio_backend , iopub_thread ):
@@ -197,8 +194,7 @@ async def subprocess_test_echo_watch():
197
194
198
195
199
196
@pytest .mark .anyio ()
200
- # @pytest.mark.skipif(sys.platform.startswith("win"), reason="Windows")
201
- @pytest .mark .skip (reason = "FIXME" )
197
+ @pytest .mark .skipif (sys .platform .startswith ("win" ), reason = "Windows" )
202
198
async def test_echo_watch (ctx ):
203
199
"""Test echo on underlying FD while capturing the same FD
204
200
@@ -218,7 +214,7 @@ async def test_echo_watch(ctx):
218
214
[
219
215
sys .executable ,
220
216
"-c" ,
221
- f"import { __name__ } ; { __name__ } .subprocess_test_echo_watch( )" ,
217
+ f"import { __name__ } , anyio; anyio.run( { __name__ } .subprocess_test_echo_watch)" ,
222
218
],
223
219
env = env ,
224
220
capture_output = True ,
You can’t perform that action at this time.
0 commit comments