Skip to content

Commit c539cb9

Browse files
committed
style: apply ruff format to test file
1 parent 394309d commit c539cb9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/trainer/test_data_collator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,6 +1966,7 @@ def test__whole_word_mask(self):
19661966

19671967
np.testing.assert_array_equal(output_mask, expected_mask)
19681968

1969+
19691970
class DataCollatorWithFlatteningTest(unittest.TestCase):
19701971
"""Tests for DataCollatorWithFlattening"""
19711972

@@ -2016,5 +2017,3 @@ def test_flattening_with_list_labels(self):
20162017
self.assertIsInstance(batch, dict)
20172018
self.assertEqual(batch["input_ids"].shape, (1, 7))
20182019
self.assertEqual(batch["labels"].shape, (1, 7))
2019-
2020-

0 commit comments

Comments
 (0)