File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ test = [
6060 " pytest-asyncio>=0.23.5" ,
6161 " pytest-cov" ,
6262 " pytest-timeout" ,
63- " pytest- trio" ,
63+ " anyio[ trio] " ,
6464 " pytest>=7.0,<9" ,
6565 " trio" ,
6666]
Original file line number Diff line number Diff line change 1212from .conftest import MockKernel
1313from .utils import TemporaryWorkingDirectory
1414
15- try :
16- import trio
17- except ImportError :
18- trio = None
19-
20-
2115@pytest .mark .skipif (os .name == "nt" , reason = "requires ipc" )
2216def test_init_ipc_socket ():
2317 app = IPKernelApp (transport = "ipc" )
@@ -117,8 +111,8 @@ def test_merge_connection_file():
117111 os .remove (cf )
118112
119113
120- @pytest .mark .trio ( )
121- async def test_trio_loop ():
114+ @pytest .mark .parametrize ( "anyio_backend" , [ "trio" ] )
115+ async def test_trio_loop (anyio_backend ):
122116 app = IPKernelApp (trio_loop = True )
123117
124118 async def trigger_stop ():
You can’t perform that action at this time.
0 commit comments