Skip to content

Commit

Permalink
fix type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 23, 2024
1 parent 7004be5 commit c4467bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/test/teststubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def test_generic_class(self) -> None:
exec("class Test[A]: ...")

# type: ignore used for older versions of python type checking
class TestClass[A]: ... # type: ignore[invalid-syntax]
class TestClass[A]: ... # type: ignore[syntax]

output: list[str] = []
mod = ModuleType("module", "")
Expand Down

0 comments on commit c4467bc

Please sign in to comment.