Skip to content

Commit 7699eff

Browse files
committed
typo
1 parent 2c09f05 commit 7699eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/utilities/test_deprecation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def dep2_sum(a, b):
2020

2121
def test_deprecated_func():
2222
with pytest.deprecated_call(
23-
match='This `dep_sum` was deprecated since v0.1 in favor of `tests.utilities.test_deprecation.my_sum`.'
23+
match='The `dep_sum` was deprecated since v0.1 in favor of `tests.utilities.test_deprecation.my_sum`.'
2424
' It will be removed in v0.5.'
2525
):
2626
assert dep_sum(2, b=5) == 7
@@ -31,7 +31,7 @@ def test_deprecated_func():
3131

3232
# and does not affect other functions
3333
with pytest.deprecated_call(
34-
match='This `dep2_sum` was deprecated since v0.1 in favor of `tests.utilities.test_deprecation.my_sum`.'
34+
match='The `dep2_sum` was deprecated since v0.1 in favor of `tests.utilities.test_deprecation.my_sum`.'
3535
' It will be removed in v0.5.'
3636
):
3737
assert dep2_sum(2) == 5

0 commit comments

Comments
 (0)