Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pytest_cases/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def pytest_runtest_setup(item):
yield # first let all other hooks run, they will do the setup etc.

# now item.funcargs exists so we can handle it
item.funcargs = {argname: get_lazy_args(argvalue) for argname, argvalue in item.funcargs.items()}
if hasattr(item, "funcargs"):
item.funcargs = {argname: get_lazy_args(argvalue) for argname, argvalue in item.funcargs.items()}


# @pytest.hookimpl(tryfirst=True, hookwrapper=True)
Expand Down