Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 9, 2024
1 parent 6f17dfd commit ab69033
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions virtualizarr/tests/test_readers/test_tiff.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from xarray import Dataset
import numpy as np
from xarray import Dataset

from virtualizarr.tests import requires_pillow
from virtualizarr import open_virtual_dataset
from virtualizarr.manifests import ManifestArray
from virtualizarr.tests import requires_pillow


@requires_pillow
Expand All @@ -12,7 +12,7 @@ def test_random_tiff(random_tiff):

assert isinstance(vds, Dataset)

# TODO what is the name of this array expected to be??
# TODO what is the name of this array expected to be??
assert list(vds.variables) == ["foo"]
vda = vds["foo"]

Expand All @@ -22,5 +22,5 @@ def test_random_tiff(random_tiff):
assert isinstance(vda.data, ManifestArray)
manifest = vda.data.manifest
assert manifest.dict() == {
'0.0': {'path': random_tiff, 'offset': 122, 'length': 16384}
"0.0": {"path": random_tiff, "offset": 122, "length": 16384}
}

0 comments on commit ab69033

Please sign in to comment.