Skip to content

Commit

Permalink
address leftover comments from pandas-dev#29986
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Dec 4, 2019
1 parent dd6be55 commit bbfff68
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pandas/tests/test_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2970,14 +2970,10 @@ def test_partition_sep_kwarg(self):
# GH 22676; depr kwarg "pat" in favor of "sep"
values = Series(["a_b_c", "c_d_e", np.nan, "f_g_h"])

# str.partition
# using sep -> no warning
expected = values.str.partition(sep="_")
result = values.str.partition("_")
tm.assert_frame_equal(result, expected)

# str.rpartition
# using sep -> no warning
expected = values.str.rpartition(sep="_")
result = values.str.rpartition("_")
tm.assert_frame_equal(result, expected)
Expand Down

0 comments on commit bbfff68

Please sign in to comment.