Skip to content

Commit 62bedc0

Browse files
committed
Fix broken tests
1 parent f7603d2 commit 62bedc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/tests/io/json/test_deprecated_kwargs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ def test_good_kwargs():
3131
argument passed as keyword.
3232
"""
3333
df = pd.DataFrame({"A": [2, 4, 6], "B": [3, 6, 9]}, index=[0, 1, 2])
34-
assert_frame_equal(df, read_json(df.to_json(orient="split"), "split"))
35-
assert_frame_equal(df, read_json(df.to_json(orient="columns"), "columns"))
36-
assert_frame_equal(df, read_json(df.to_json(orient="index"), "index"))
34+
assert_frame_equal(df, read_json(df.to_json(orient="split"), orient="split"))
35+
assert_frame_equal(df, read_json(df.to_json(orient="columns"), orient="columns"))
36+
assert_frame_equal(df, read_json(df.to_json(orient="index"), orient="index"))

pandas/tests/util/test_deprecate_nonkeyword_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_one_and_three_arguments_default_allowed_args():
8585
option, meaning that all arguments with default value
8686
are keyword-only.
8787
"""
88-
assert g(1, 3, c=3, d=5) == 12
88+
assert g(1, b=3, c=3, d=5) == 12
8989

9090

9191
def test_three_arguments_default_allowed_args():

0 commit comments

Comments
 (0)