File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/trio/_tests/type_tests Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ async def test() -> None:
9
9
await trio .run_process ("python" , executable = "ls" )
10
10
await trio .lowlevel .open_process ("python" , executable = "ls" )
11
11
12
+ # note: there's no error code on the type ignore as it varies
13
+ # between platforms.
12
14
await trio .run_process ("python" , capture_stdout = True )
13
- await trio .lowlevel .open_process ("python" , capture_stdout = True ) # type: ignore[call-arg]
15
+ await trio .lowlevel .open_process ("python" , capture_stdout = True ) # type: ignore
14
16
15
17
if sys .platform != "win32" and sys .version_info >= (3 , 9 ):
16
18
await trio .run_process ("python" , extra_groups = [5 ])
17
19
await trio .lowlevel .open_process ("python" , extra_groups = [5 ])
18
20
19
21
# 3.11+:
20
- await trio .run_process ("python" , process_group = 5 ) # type: ignore[call-arg]
21
- await trio .lowlevel .open_process ("python" , process_group = 5 ) # type: ignore[call-arg]
22
+ await trio .run_process ("python" , process_group = 5 ) # type: ignore
23
+ await trio .lowlevel .open_process ("python" , process_group = 5 ) # type: ignore
You can’t perform that action at this time.
0 commit comments