Skip to content

Commit

Permalink
Resolve linting warning for intentional pytest with 'noinspection PyT…
Browse files Browse the repository at this point in the history
…ypeChecker'
  • Loading branch information
doulikecookiedough committed Sep 25, 2024
1 parent 6daa01f commit 27b7060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/filehashstore/test_filehashstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,7 @@ def test_stream_returns_to_original_position_on_close(pids):
input_stream.close()


# noinspection PyTypeChecker
def test_stream_raises_error_for_invalid_object():
"""Test that a stream raises ValueError for an invalid input object."""
with pytest.raises(ValueError):
Expand Down

0 comments on commit 27b7060

Please sign in to comment.