Skip to content

Commit

Permalink
fix test_cant_subtype
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Jan 8, 2022
1 parent 75d075b commit c5510e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_never_type/test_typetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def test_cant_assign_to_never() -> None:
_never: Never = 1 # type:ignore[assignment]

def test_cant_subtype() -> None:
class _A(NoReturn): # type:ignore[misc]
class _A(Never): # type:ignore[misc]
...

0 comments on commit c5510e5

Please sign in to comment.