Open
Description
In several tests we have this currently
if PYTEST84_OR_GREATER:
# See https://github.com/pytest-dev/pytest/pull/12473
import inspect
obj = inspect.unwrap(dummy)
else:
obj = dummy.__pytest_wrapped__.obj
it could probably be good to create a util function in common_pytest to perform this task : get_fixture_callable
. THis would be easier for refactoring