Skip to content

Commit d9c4ca9

Browse files
committed
Edited the tests
1 parent a326359 commit d9c4ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/frame/methods/test_compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ def test_compare_suffixes():
190190
)
191191
df2 = df1.copy()
192192
df2.loc[0, "col1"] = "c"
193-
df2.loc[2, "col3"] = 4.0
193+
df2.loc[2, "col3"] = np.nan
194194

195-
suffixes = ["left", "right"]
195+
suffixes = ("left", "right")
196196
comp = df1.compare(df2, suffixes=suffixes)
197197
expected = pd.DataFrame(
198198
{

0 commit comments

Comments
 (0)