Skip to content

Commit

Permalink
Fix filename tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wolf <[email protected]>
  • Loading branch information
ryantwolf committed Apr 23, 2024
1 parent 491f8b6 commit 89009a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def test_filename(self):
expected_data = {
"text": ["one", "three", "four", "five", "two"],
"filename": [
"file_0000000000.jsonl",
"file_0000000000.jsonl",
"file_0000000000.jsonl",
"file_0000000001.jsonl",
"file_0000000001.jsonl",
"file_0000000001.jsonl",
"file_0000000002.jsonl",
"file_0000000002.jsonl",
],
}
pdf = pd.DataFrame(expected_data)
Expand All @@ -76,11 +76,11 @@ def test_custom_filenames(self):
expected_data = {
"text": ["one", "three", "four", "five", "two"],
"filename": [
"my_0.test",
"my_0.test",
"my_0.test",
"my_1.test",
"my_1.test",
"my_1.test",
"my_2.test",
"my_2.test",
],
}
pdf = pd.DataFrame(expected_data)
Expand Down

0 comments on commit 89009a8

Please sign in to comment.