We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a95f2a5 + 9e29187 commit b741bb2Copy full SHA for b741bb2
pytest_cases/plugin.py
@@ -56,7 +56,8 @@ def pytest_runtest_setup(item):
56
yield # first let all other hooks run, they will do the setup etc.
57
58
# now item.funcargs exists so we can handle it
59
- item.funcargs = {argname: get_lazy_args(argvalue) for argname, argvalue in item.funcargs.items()}
+ if hasattr(item, "funcargs"):
60
+ item.funcargs = {argname: get_lazy_args(argvalue) for argname, argvalue in item.funcargs.items()}
61
62
63
# @pytest.hookimpl(tryfirst=True, hookwrapper=True)
0 commit comments