Skip to content

Commit 54a9519

Browse files
committed
Remove redundant test
1 parent b6ed080 commit 54a9519

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

tests/test

Whitespace-only changes.

tests/test_piped.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,3 @@ def test_piped_tool_fails_on_close(tmp_path):
378378
) as f:
379379
f.write(b"Hello")
380380
assert "exit code 5" in e.value.args[0]
381-
382-
383-
def test_piped_tool_fails_read_mode_with_filehandle(tmp_path):
384-
test_file = tmp_path / "test.txt.gz"
385-
test_file.write_bytes(gzip.compress(b"test"))
386-
with open(test_file, "rb") as filehandle:
387-
with pytest.raises(OSError) as error:
388-
_PipedCompressionProgram(filehandle, "rb")
389-
error.match("File object not supported for reading")

0 commit comments

Comments
 (0)