Skip to content

Commit

Permalink
FIX: Change np.NaN to np.nan in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fumitoh committed Jul 13, 2024
1 parent 70bdf70 commit 6675b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modelx/tests/io/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def test_space_with_string_index_to_frame(space_with_string_index):
s.f1()

df = pd.DataFrame(
data={"f0": ["foo", np.NaN], "f1": [np.NaN, 3.0]},
index=pd.Index(["foo", np.NaN], name="strind"),
data={"f0": ["foo", np.nan], "f1": [np.nan, 3.0]},
index=pd.Index(["foo", np.nan], name="strind"),
)

assert s.frame.equals(df)
Expand Down

0 comments on commit 6675b8b

Please sign in to comment.