Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/eolearn/tests/test_utils/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_allowed_feature_types(test_input: FeaturesSpecification, allowed_types:
FeatureParser(features=test_input, allowed_feature_types=allowed_types)


@pytest.fixture(name="eopatch", scope="session")
@pytest.fixture(name="eopatch", scope="module")
def eopatch_fixture():
return EOPatch(
data=dict(data=np.zeros((2, 2, 2, 2)), CLP=np.zeros((2, 2, 2, 2))), # name duplication intentional
Expand Down
2 changes: 1 addition & 1 deletion visualization/eolearn/tests/test_eopatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from eolearn.visualization import PlotConfig


@pytest.fixture(name="eopatch")
@pytest.fixture(name="eopatch", scope="module")
def eopatch_fixture():
path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "..", "example_data", "TestEOPatch")
return EOPatch.load(path)
Expand Down