From 4043ec62c2ff6ca3c600a71dcfbbec6eef00d3d4 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Mon, 22 Jan 2024 15:50:13 +0100 Subject: [PATCH] Remove redundant comment --- tests/test_xopen.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_xopen.py b/tests/test_xopen.py index 0e3ee11..216f50b 100644 --- a/tests/test_xopen.py +++ b/tests/test_xopen.py @@ -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