Skip to content

Commit 5b5ef66

Browse files
committed
simplify a test
1 parent fb10160 commit 5b5ef66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_matchpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_matchpoint(self):
5353
assert len(matcher.values) == len(df)
5454

5555

56+
5657
print("test 2")
5758
matcher = nc.open_matchpoint()
5859
depths = ds.levels
@@ -127,7 +128,6 @@ def test_matchpoint(self):
127128
print("test 7")
128129
ds = nc.open_data("data/sst.mon.mean.nc", checks= False)
129130
df = pd.DataFrame({"lon":[-20], "lat":56})
130-
ds.split("year")
131131

132132
matcher = nc.open_matchpoint()
133133
matcher.add_data(ds)
@@ -151,4 +151,4 @@ def test_matchpoint(self):
151151
assert np.isnan(df_matched.query("depth == -7").t_an[0])
152152
assert df_matched.query("depth == -5").t_an.values[0] == df_matched.query("depth == 0").t_an.values[0]
153153
#
154-
#
154+
#

0 commit comments

Comments
 (0)