Skip to content

Commit

Permalink
remove uneeded fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Dec 17, 2024
1 parent a013b2c commit f5123cf
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@ def netcdf4_file(tmpdir):
return filepath


@pytest.fixture
def chunked_netcdf4_file(tmpdir):
# Set up example xarray dataset
ds = xr.tutorial.open_dataset("air_temperature")

# Save it to disk as netCDF (in temporary directory)
filepath = f"{tmpdir}/air.nc"
ds.chunk(time=1460).to_netcdf(filepath, format="NETCDF4")
ds.close()

return filepath


@pytest.fixture
def netcdf4_file_with_data_in_multiple_groups(tmpdir):
filepath = str(tmpdir / "test.nc")
Expand Down

0 comments on commit f5123cf

Please sign in to comment.