diff --git a/pandas/tests/indexes/interval/test_formats.py b/pandas/tests/indexes/interval/test_formats.py index db477003900bc5..5e93ba50467bf0 100644 --- a/pandas/tests/indexes/interval/test_formats.py +++ b/pandas/tests/indexes/interval/test_formats.py @@ -30,7 +30,7 @@ def test_frame_repr(self): Series, ( "(0.0, 1.0] a\n" - "NaN b\n" + "None b\n" "(2.0, 3.0] c\n" "dtype: object" ), diff --git a/pandas/tests/io/formats/test_format.py b/pandas/tests/io/formats/test_format.py index 801bb1845e01e0..762ddae16d597f 100644 --- a/pandas/tests/io/formats/test_format.py +++ b/pandas/tests/io/formats/test_format.py @@ -2260,7 +2260,7 @@ def test_east_asian_unicode_series(self): # object dtype, shorter than unicode repr s = Series([1, 22, 3333, 44444], index=[1, "AB", np.nan, "あああ"]) expected = ( - "1 1\nAB 22\nNaN 3333\nあああ 44444\ndtype: int64" + "1 1\nAB 22\nnan 3333\nあああ 44444\ndtype: int64" ) assert repr(s) == expected @@ -2356,7 +2356,7 @@ def test_east_asian_unicode_series(self): # object dtype, shorter than unicode repr s = Series([1, 22, 3333, 44444], index=[1, "AB", np.nan, "あああ"]) expected = ( - "1 1\nAB 22\nNaN 3333\n" + "1 1\nAB 22\nnan 3333\n" "あああ 44444\ndtype: int64" ) assert repr(s) == expected