Skip to content

Commit

Permalink
Failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Apr 23, 2024
1 parent f68e0e9 commit 13f1cc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_comparer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def tc() -> Comparer:

def test_matched_df(pt_df):
cmp = Comparer.from_matched_data(data=pt_df)
assert cmp.gtype == "point"
assert "m2" in cmp.mod_names
assert "m1" in cmp.mod_names
assert len(cmp.mod_names) == 2
Expand Down Expand Up @@ -824,7 +825,9 @@ def test_from_matched_track_data():
"mikeswcal5hm0": [1.22, 1.3],
},
)
assert isinstance(df.index, pd.RangeIndex) # Sometime we don't care about time only space
assert isinstance(
df.index, pd.RangeIndex
) # Sometime we don't care about time only space

cmp = ms.from_matched(
data=df, obs_item="c2", mod_items="mikeswcal5hm0", x_item="lon", y_item="lat"
Expand Down

0 comments on commit 13f1cc6

Please sign in to comment.