File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4646from typing import TYPE_CHECKING
4747
4848
49- __version__ = "0.27 .0.dev0 "
49+ __version__ = "0.28 .0.rc0 "
5050
5151# Alphabetical order of definitions is ensured in tests
5252# WARNING: any comment added in this dictionary definition will be lost when
Original file line number Diff line number Diff line change @@ -396,9 +396,9 @@ def _inner(*args, **kwargs):
396396 if name == "self" :
397397 continue
398398 assert parameter .annotation is Mock
399- assert name in mocks , (
400- f"Mock ` { name } ` not found for test ` { fn . __name__ } `. Available: { ', ' . join ( sorted ( mocks . keys ())) } "
401- )
399+ assert (
400+ name in mocks
401+ ), f"Mock ` { name } ` not found for test ` { fn . __name__ } `. Available: { ', ' . join ( sorted ( mocks . keys ())) } "
402402 new_kwargs [name ] = mocks [name ]
403403
404404 # Run test only with a subset of mocks
You can’t perform that action at this time.
0 commit comments