Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
activesoull committed Nov 26, 2024
1 parent 9544976 commit c033619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deeplake/core/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def test_multi_source_query(hub_cloud_dev_token):
'SELECT * FROM (SELECT * FROM "hub://activeloop/mnist-train" UNION (SELECT images, labels FROM "hub://activeloop/cifar100-train")) WHERE labels == 0',
token=hub_cloud_dev_token,
)
assert len(ds) == 6423

assert len(ds) == 5923
assert len(ds.tensors) == 2
d = ds.labels.numpy()
assert np.all(d == 0)

0 comments on commit c033619

Please sign in to comment.