Skip to content

Commit 2f892ca

Browse files
author
Matic Lubej
committed
pre-commit fixes
1 parent 8a8e4ad commit 2f892ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/mask/test_snow_mask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import numpy as np
1111
import pytest
1212

13-
from eolearn.core import FeatureType, EOPatch
13+
from eolearn.core import EOPatch, FeatureType
1414
from eolearn.mask import SnowMaskTask
1515

1616

@@ -40,5 +40,5 @@ def test_snow_empty_eopatch(test_eopatch):
4040
empty_bands_array = np.array([], dtype=bands.dtype).reshape((0, *bands.shape[1:]))
4141
empty_eopatch = EOPatch(bbox=test_eopatch.bbox, timestamps=[], data={"BANDS-S2-L1C": empty_bands_array})
4242
task = SnowMaskTask((FeatureType.DATA, "BANDS-S2-L1C"), [2, 3, 7, 11], mask_name="TEST_SNOW_MASK")
43-
resulting_eopatch = task(empty_eopatch) # checks if the task runs without errors
43+
resulting_eopatch = task(empty_eopatch) # checks if the task runs without errors
4444
assert resulting_eopatch.mask["TEST_SNOW_MASK"].shape[0] == 0

0 commit comments

Comments
 (0)