File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def dep2_sum(a, b):
2020
2121def 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
You can’t perform that action at this time.
0 commit comments