File tree Expand file tree Collapse file tree
src/trio/_tests/type_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ async def test() -> None:
99 await trio .run_process ("python" , executable = "ls" )
1010 await trio .lowlevel .open_process ("python" , executable = "ls" )
1111
12+ # note: there's no error code on the type ignore as it varies
13+ # between platforms.
1214 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
1416
1517 if sys .platform != "win32" and sys .version_info >= (3 , 9 ):
1618 await trio .run_process ("python" , extra_groups = [5 ])
1719 await trio .lowlevel .open_process ("python" , extra_groups = [5 ])
1820
1921 # 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