Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Aug 1, 2024
1 parent 7f8af95 commit b00396d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/examples/subset_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import matplotlib.pyplot as plt

FILENAME = "example_data/SFBOFS_subset1.nc"
FILENAME = "docs/examples/example_data/SFBOFS_subset1.nc"

# polygon to subset to

Expand Down
2 changes: 1 addition & 1 deletion tests/test_grids/test_ugrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from xarray_subset_grid.grids import ugrid

EXAMPLE_DATA = Path(__file__).parent.parent.parent / "examples" / "example_data"
EXAMPLE_DATA = Path(__file__).parent.parent.parent / "docs" / "examples" / "example_data"

TEST_FILE1 = EXAMPLE_DATA / "SFBOFS_subset1.nc"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_visualization/test_mpl_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
pytestmark = pytest.mark.skip(reason="matplotlib is not installed")


EXAMPLE_DATA = Path(__file__).parent.parent.parent / "examples" / "example_data"
EXAMPLE_DATA = Path(__file__).parent.parent.parent / "docs" / "examples" / "example_data"
OUTPUT_DIR = Path(__file__).parent / "output"


Expand Down

0 comments on commit b00396d

Please sign in to comment.