Skip to content

Commit

Permalink
new pyfive File API
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Mar 6, 2024
1 parent 98a74c5 commit 4bea4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def check_dataset_filters(temp_file: str, ncvar: str, compression: str, shuffle:
if USE_S3:
with load_from_s3(temp_file) as test_data:
# NOTE: h5netcdf thinks zlib is gzip
assert test_data.variables[ncvar].compression == "gzip"
assert test_data.variables[ncvar].shuffle == shuffle
assert test_data[ncvar].attrs.get('compression') == "gzip"
assert test_data[ncvar].attrs.get('shuffle') == shuffle
else:
with Dataset(temp_file) as test_data:
test_data_filters = test_data.variables[ncvar].filters()
Expand Down

0 comments on commit 4bea4bb

Please sign in to comment.