Skip to content

Commit

Permalink
inline the delimiter argument in test_text read_text test
Browse files Browse the repository at this point in the history
Co-authored-by: Bradley Dice <[email protected]>
  • Loading branch information
cwharris and bdice authored Mar 23, 2022
1 parent 68eb7e1 commit f381414
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/cudf/cudf/tests/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,12 +834,10 @@ def test_read_text_byte_range_large(datadir):


def test_read_text_in_memory(datadir):
delimiter = "::"

# Since Python split removes the delimiter and read_text does
# not we need to add it back to the 'content'
expected = cudf.Series(["x::", "y::", "z"])

actual = cudf.read_text(StringIO("x::y::z"), delimiter=delimiter)
actual = cudf.read_text(StringIO("x::y::z"), delimiter="::")

assert_eq(expected, actual)

0 comments on commit f381414

Please sign in to comment.