diff --git a/_pytest/python.py b/_pytest/python.py index 8110b7a72..de659e517 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -520,6 +520,7 @@ class Package(Session, Module): if isinstance(x, Package): pkg_prefix = path.dirpath() + def _get_xunit_setup_teardown(holder, attr_name, param_obj=None): """ Return a callable to perform xunit-style setup or teardown if