Skip to content

Commit a4aadce

Browse files
committed
Revert "use correct attributes compression and shuffle"
This reverts commit fcefd23.
1 parent fcefd23 commit a4aadce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_compression.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def check_dataset_filters(temp_file: str, ncvar: str, compression: str, shuffle:
1717
if USE_S3:
1818
with load_from_s3(temp_file) as test_data:
1919
# NOTE: h5netcdf thinks zlib is gzip
20-
assert test_data[ncvar].compression == "gzip"
21-
assert test_data[ncvar].shuffle == shuffle
20+
assert test_data.variables[ncvar].compression == "gzip"
21+
assert test_data.variables[ncvar].shuffle == shuffle
2222
else:
2323
with Dataset(temp_file) as test_data:
2424
test_data_filters = test_data.variables[ncvar].filters()

0 commit comments

Comments
 (0)