Skip to content

Commit ea4d533

Browse files
committed
fix pypy tests on filelike objects
1 parent 0a3bacd commit ea4d533

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_xopen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,8 @@ def test_pass_bytesio_for_reading_and_writing(ext, threads):
639639
format = None
640640
if ext == ".zst" and zstandard is None:
641641
return
642+
if ext == ".lz4" and lz4 is None and threads == 0:
643+
return
642644
first_line = CONTENT_LINES[0].encode("utf-8")
643645
writer = xopen(filelike, "wb", format=format, threads=threads)
644646
writer.write(first_line)

0 commit comments

Comments
 (0)