Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_no_bad_examples():


@pytest.mark.skipif(hypothesis is None, reason='hypothesis is not installed')
@pytest.mark.skipif(typeguard is None, reason='typeguard is not installed')
def test_return_type_checks():
def div(a: int, b: int) -> int:
return 1
Expand Down Expand Up @@ -140,6 +141,7 @@ def div(a: int, b: int):


@pytest.mark.skipif(hypothesis is None, reason='hypothesis is not installed')
@pytest.mark.skipif(typeguard is None, reason='typeguard is not installed')
def test_disable_type_checks():
def bad(a: int) -> str:
return a # type: ignore[return-value]
Expand Down
Loading