def _get_non_fixture_func(obj, name):
meth = getattr(obj, name, None)<EOL>if fixtures.getfixturemarker(meth) is None:<EOL><INDENT>return meth<EOL><DEDENT>
Return the attribute from the given object to be used as a setup/teardown
    xunit-style function, but only if not marked as a fixture to
    avoid calling it twice.