Skip to content

Commit

Permalink
Merge pull request #140 from knutfrode/dev
Browse files Browse the repository at this point in the history
Added xfailing test for Traj2D.timestep()
  • Loading branch information
knutfrode authored Nov 12, 2024
2 parents 3421391 + e63f2c3 commit dc6f354
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_read_sfy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
import xarray as xr
import trajan as _
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -28,3 +29,8 @@ def test_gridtime(test_data):

dg = ds.traj.gridtime('1h')
print(dg)

@pytest.mark.xfail(reason='timestep methods seems to fail for Traj2d datasets')
def test_timestep(test_data):
ds = xr.open_dataset(test_data / 'bug32.nc')
print(ds.traj.timestep())

0 comments on commit dc6f354

Please sign in to comment.