Skip to content

Commit 2808dc9

Browse files
committed
print out file attrs
1 parent cf1ff2d commit 2808dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_compression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def check_dataset_filters(temp_file: str, ncvar: str, compression: str, shuffle:
1616
# Sanity check that test data is compressed and filtered as expected.
1717
if USE_S3:
1818
with load_from_s3(temp_file) as test_data:
19-
print("Variable attrs", test_data[ncvar].attrs)
19+
print("File attrs", test_data.attrs)
2020
assert test_data[ncvar].attrs.get('compression') == "gzip"
2121
assert test_data[ncvar].attrs.get('shuffle') == shuffle
2222
else:

0 commit comments

Comments
 (0)