Skip to content

Commit fc6f56a

Browse files
committed
update doc
1 parent bd552cf commit fc6f56a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/pydantic_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def _is_model_cls(obj) -> bool:
9797
assert inspect.ismodule(module)
9898

9999
for model_name, model_cls in inspect.getmembers(module, _is_model_cls):
100-
101100
yield from iter_model_examples_in_class(model_cls, model_name)
102101

103102

@@ -172,7 +171,7 @@ def model_cls_examples(model_cls: type[BaseModel]) -> dict[str, dict[str, Any]]:
172171
"""
173172
warnings.warn(
174173
"The 'model_cls_examples' fixture is deprecated and will be removed in a future version. "
175-
"Please use 'iter_model_example_in_class' or 'iter_model_examples_in_module' as an alternative.",
174+
"Please use 'iter_model_examples_in_class' or 'iter_model_examples_in_module' as an alternative.",
176175
DeprecationWarning,
177176
stacklevel=2,
178177
)

0 commit comments

Comments
 (0)