Skip to content

Commit c19ca22

Browse files
committed
lint
1 parent 2f863d3 commit c19ca22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/data/test_data_handler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,12 @@ def test_few_shot_split(dataset):
233233
desired_specs = {
234234
"train_0": {0: 2, 1: 2, 2: 2, 3: 2},
235235
"train_1": {2: 2, 0: 2, None: 2, 1: 1, 3: 1},
236-
"validation_0": {0: 3, 1: 4, 2: 3, 3: 4, },
236+
"validation_0": {0: 3, 1: 4, 2: 3, 3: 4},
237237
"validation_1": {None: 14, 3: 1, 0: 1, 1: 1, 2: 1},
238238
"test": {None: 4, 0: 2, 2: 2, 3: 2, 1: 2},
239239
}
240240

241241
for data_split in dh.dataset:
242-
assert Counter(dh.dataset[data_split][dh.dataset.label_feature]) == desired_specs[data_split], f"Failed for {data_split}"
242+
assert (
243+
Counter(dh.dataset[data_split][dh.dataset.label_feature]) == desired_specs[data_split]
244+
), f"Failed for {data_split}"

0 commit comments

Comments
 (0)