Skip to content

Commit 302ae61

Browse files
committed
Fix expected warning message in tests for deprecate_nonkeyword_arguments
1 parent 13f4ec1 commit 302ae61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/util/test_deprecate_nonkeyword_arguments.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_three_positional_argument_with_warning_message_analysis():
6868
for actual_warning in w:
6969
assert actual_warning.category == FutureWarning
7070
assert str(actual_warning.message) == (
71-
"After Pandas version 1.1 all arguments of g"
71+
"Starting with Pandas version 1.1 all arguments of g"
7272
" except for the argument 'a' will be keyword-only"
7373
)
7474

@@ -96,5 +96,5 @@ def test_one_positional_argument_with_warning_message_analysis():
9696
for actual_warning in w:
9797
assert actual_warning.category == FutureWarning
9898
assert str(actual_warning.message) == (
99-
"After Pandas version 1.1 all arguments of h will be keyword-only"
99+
"Starting with Pandas version 1.1 all arguments of h will be keyword-only"
100100
)

0 commit comments

Comments
 (0)