Skip to content

Commit

Permalink
make flake happy
Browse files Browse the repository at this point in the history
  • Loading branch information
realead committed Jan 12, 2022
1 parent 03783f8 commit 5568278
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pandas/tests/series/test_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,9 @@ def test_float_repr(self):

def test_different_null_objects(self):
# GH#45263
ser = pd.Series([1, 2, 3, 4], [True, None, np.nan, pd.NaT])
ser = Series([1, 2, 3, 4], [True, None, np.nan, pd.NaT])
result = repr(ser)
expected = (
"True 1\n" "None 2\n" "nan 3\n" "NaT 4\n" "dtype: int64"
)
expected = "True 1\nNone 2\nnan 3\nNaT 4\ndtype: int64"
assert result == expected


Expand Down

0 comments on commit 5568278

Please sign in to comment.