Skip to content

Commit

Permalink
CLN: lint fixup on 1.1.x (#36663)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins authored Sep 26, 2020
1 parent bd3e37f commit 5f7f2b2
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions pandas/tests/frame/methods/test_replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,30 +975,15 @@ def test_replace_for_new_dtypes(self, datetime_frame):
),
),
# GH 35376
(DataFrame([[1, 1.0], [2, 2.0]]), 1.0, 5, DataFrame([[5, 5.0], [2, 2.0]]),),
(DataFrame([[1, 1.0], [2, 2.0]]), 1, 5, DataFrame([[5, 5.0], [2, 2.0]]),),
(
DataFrame([[1, 1.0], [2, 2.0]]),
1.0,
5,
DataFrame([[5, 5.0], [2, 2.0]]),
),
(
DataFrame([[1, 1.0], [2, 2.0]]),
1,
5,
DataFrame([[5, 5.0], [2, 2.0]]),
),
(
DataFrame([[1, 1.0], [2, 2.0]]),
1.0,
5.0,
DataFrame([[5, 5.0], [2, 2.0]]),
),
(
DataFrame([[1, 1.0], [2, 2.0]]),
1,
5.0,
DataFrame([[5, 5.0], [2, 2.0]]),
),
(DataFrame([[1, 1.0], [2, 2.0]]), 1, 5.0, DataFrame([[5, 5.0], [2, 2.0]]),),
],
)
def test_replace_dtypes(self, frame, to_replace, value, expected):
Expand Down

0 comments on commit 5f7f2b2

Please sign in to comment.