Skip to content

Commit

Permalink
Restore type ignore for decorated with Any
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Sep 29, 2024
1 parent a7cdba5 commit 3c880fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trio/_tests/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def got_signal(proc: Process, sig: SignalType) -> bool:
return proc.returncode != 0


@asynccontextmanager # type: ignore[misc] # Any in decorator
@asynccontextmanager # type: ignore[misc] # Any in decorated
async def open_process_then_kill(
*args: Any, # noqa: ANN401 # Any used
**kwargs: Any, # noqa: ANN401
Expand All @@ -103,7 +103,7 @@ async def open_process_then_kill(
await proc.wait()


@asynccontextmanager
@asynccontextmanager # type: ignore[misc] # Any in decorated
async def run_process_in_nursery(
*args: Any, # noqa: ANN401 # Any used
**kwargs: Any, # noqa: ANN401
Expand Down

0 comments on commit 3c880fb

Please sign in to comment.