diff --git a/pandas/tests/series/test_repr.py b/pandas/tests/series/test_repr.py index 795cc136ccfe76..842207f2a572f2 100644 --- a/pandas/tests/series/test_repr.py +++ b/pandas/tests/series/test_repr.py @@ -198,8 +198,8 @@ def test_latex_repr(self): assert s._repr_latex_() is None - # GH 25061 def test_index_repr_in_frame_with_nan(self): + # see gh-25061 i = Index([1, np.nan]) s = Series([1, 2], index=i) exp = """1.0 1\nNaN 2\ndtype: int64"""