Skip to content

Commit d7125ac

Browse files
committed
remove type-ignore
1 parent 874f893 commit d7125ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trio/_core/_tests/test_cancelled.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
def test_Cancelled_init() -> None:
1616
with pytest.raises(TypeError, match=r"^trio.Cancelled has no public constructor$"):
17-
raise Cancelled # type: ignore[call-arg]
17+
raise Cancelled
1818

1919
with pytest.raises(TypeError, match=r"^trio.Cancelled has no public constructor$"):
2020
Cancelled(source="explicit")

0 commit comments

Comments
 (0)