Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 16, 2021
1 parent 2c09f05 commit 7699eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utilities/test_deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def dep2_sum(a, b):

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

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

0 comments on commit 7699eff

Please sign in to comment.