Skip to content

Commit

Permalink
Remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpvorderman committed Jan 22, 2024
1 parent 3d39854 commit 4043ec6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_xopen.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ def test_filename_not_a_string():


def test_invalid_compression_level(tmp_path):
# Can be any kind of exception depending on backend, OSError, zlib.error,
# zlib_ng.error, isal_zlib.error, ValueError (etc.)
with pytest.raises(ValueError) as e:
with xopen(tmp_path / "out.gz", mode="w", compresslevel=17) as f:
f.write("hello") # pragma: no cover
Expand Down

0 comments on commit 4043ec6

Please sign in to comment.