Skip to content

Commit 768c521

Browse files
committed
CLN: Deprecate non-keyword arguments in concat pandas-dev#41485
1 parent 717fd39 commit 768c521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/reshape/concat/test_concat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def test_concat_posargs_deprecation(all_parsers):
650650
"except for the argument 'objs' will be keyword-only"
651651
)
652652
with tm.assert_produces_warning(FutureWarning, match=msg):
653-
concat([df, df2], " ")
653+
result = concat([df, df2], " ")
654654
expected = DataFrame([[1,2,3],[4,5,6]], index=["a","b"])
655655
tm.assert_frame_equal(result, expected)
656656

0 commit comments

Comments
 (0)