From 6675b8b6938369cf8c703d86019deba928c0153c Mon Sep 17 00:00:00 2001 From: Fumito Hamamura Date: Sat, 13 Jul 2024 13:58:49 +0900 Subject: [PATCH] FIX: Change np.NaN to np.nan in test --- modelx/tests/io/test_pandas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modelx/tests/io/test_pandas.py b/modelx/tests/io/test_pandas.py index a4439f6..d8a90f1 100644 --- a/modelx/tests/io/test_pandas.py +++ b/modelx/tests/io/test_pandas.py @@ -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)