Skip to content

Commit

Permalink
small test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 committed Jun 25, 2024
1 parent 0ed9af6 commit aff6178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/cudf/cudf/pylibcudf_tests/io/test_source_sink_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_source_info_ctor(io_class, source, tmp_path):
file.write_bytes("hello world".encode("utf-8"))
source = str(file)

_skip_invalid_sinks(source)
_skip_invalid_sinks(io_class, source)

io_class([source])

Expand All @@ -64,7 +64,7 @@ def test_source_info_ctor_multiple(io_class, sources, tmp_path):
file.write_bytes("hello world".encode("utf-8"))
sources[i] = str(file)

_skip_invalid_sinks(source)
_skip_invalid_sinks(io_class, source)

io_class(sources)

Expand Down Expand Up @@ -95,7 +95,7 @@ def test_source_info_ctor_mixing_invalid(io_class, sources, tmp_path):
file = tmp_path / source
file.write_bytes("hello world".encode("utf-8"))
sources[i] = str(file)
_skip_invalid_sinks(source)
_skip_invalid_sinks(io_class, source)
with pytest.raises(ValueError):
io_class(sources)

Expand Down

0 comments on commit aff6178

Please sign in to comment.