Skip to content

Commit

Permalink
Do importskip before importing satpy
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Oct 14, 2024
1 parent 63de5e0 commit ee7edef
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions satpy/tests/reader_tests/test_sar_c_safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@
import pytest
import yaml

from satpy._config import PACKAGE_CONFIG_PATH
from satpy.dataset import DataQuery
from satpy.dataset.dataid import DataID
from satpy.readers.sar_c_safe import Calibrator, Denoiser, SAFEXMLAnnotation
geotiepoints = pytest.importorskip("geotiepoints", "1.7.5")

from satpy._config import PACKAGE_CONFIG_PATH # noqa: E402
from satpy.dataset import DataQuery # noqa: E402
from satpy.dataset.dataid import DataID # noqa: E402
from satpy.readers.sar_c_safe import Calibrator, Denoiser, SAFEXMLAnnotation # noqa: E402

rasterio = pytest.importorskip("rasterio")
geotiepoints = pytest.importorskip("geotiepoints", "1.7.5")


dirname_suffix = "20190201T024655_20190201T024720_025730_02DC2A_AE07"
Expand Down

0 comments on commit ee7edef

Please sign in to comment.