Skip to content

Commit a31196a

Browse files
committed
chore: lint
1 parent 36e507c commit a31196a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/py/unit/test_array_with_ids.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,20 +213,20 @@ def test_filter_by_ids_reset_ids():
213213
instance = ArrayWithIds(**ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE)
214214
# Filter to keep only first and third elements (ids 2 and 6)
215215
instance.filter_by_ids([2, 6], reset_ids=True)
216-
216+
217217
# Values should be filtered correctly
218218
assert instance.values == [
219219
ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE["values"][0],
220220
ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE["values"][2],
221221
]
222222
# IDs should be reset to consecutive integers starting from 0
223223
assert instance.ids == [0, 1]
224-
224+
225225
# Test with invert=True
226226
instance = ArrayWithIds(**ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE)
227227
# Filter to exclude first element (id 2), keep second and third (ids 4, 6)
228228
instance.filter_by_ids([2], invert=True, reset_ids=True)
229-
229+
230230
assert instance.values == [
231231
ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE["values"][1],
232232
ARRAY_WITH_IDS_ARRAYS_OF_FLOAT_VALUES_CONFIG_NON_CONSECUTIVE["values"][2],

0 commit comments

Comments
 (0)