def _inject_setup_teardown_fixtures(self, cls):
class_fixture = _make_xunit_fixture(<EOL>cls, "<STR_LIT>", "<STR_LIT>", scope="<STR_LIT:class>", pass_self=False<EOL>)<EOL>if class_fixture:<EOL><INDENT>cls.__pytest_class_setup = class_fixture<EOL><DEDENT>method_fixture = _make_xunit_fixture(<EOL>cls, "<STR_LIT>", "<STR_LIT>", scope="<STR_LIT>", pass_self=True<EOL>)<EOL>if method_fixture:<EOL><INDENT>cls.__pytest_method_setup = method_fixture<EOL><DEDENT>
Injects a hidden auto-use fixture to invoke setUpClass/setup_method and corresponding
        teardown functions (#517)