Skip to content

Commit

Permalink
reformat deeplake/integrations/tests/test_labelbox.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tyesayan committed Jan 27, 2025
1 parent d8fb63d commit 5676648
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deeplake/integrations/tests/test_labelbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ def validate_ds(ds):
assert np.all(ds["radio_bttn"][0].numpy() == [[0]])

assert np.all(ds["checklist"][499].numpy() == [[]])
assert np.all(ds["checklist"][500].numpy() == [[0, 1]]) or np.all(ds["checklist"][500].numpy() == [[1, 0]])
assert np.all(ds["checklist"][598].numpy() == [[0, 1]]) or np.all(ds["checklist"][598].numpy() == [[1, 0]])
assert np.all(ds["checklist"][500].numpy() == [[0, 1]]) or np.all(
ds["checklist"][500].numpy() == [[1, 0]]
)
assert np.all(ds["checklist"][598].numpy() == [[0, 1]]) or np.all(
ds["checklist"][598].numpy() == [[1, 0]]
)
assert np.all(ds["checklist"][599].numpy() == [[0]])
assert np.all(ds["checklist"][698].numpy() == [[0]])
assert np.all(ds["checklist"][699].numpy() == [[1]])
Expand Down

0 comments on commit 5676648

Please sign in to comment.