Skip to content

Commit

Permalink
Fix blosc2 test. Dataset was too small to compress.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Sep 5, 2024
1 parent 7e62034 commit 086fdb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tiled/_tests/test_decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ def client():
metadata = {str(i): {str(j): j for j in range(100)} for i in range(100)}
tree = MapAdapter(
{
# This example needs to (1) compress well and (2) be large enough
# to be worthwhile to compress.
"compresses_well": ArrayAdapter.from_array(
numpy.zeros((100, 100)), metadata=metadata
numpy.zeros((1000, 1000)), metadata=metadata
)
},
)
Expand Down

0 comments on commit 086fdb0

Please sign in to comment.