def METHOD_NAME(self):
    func = self._run
    test_flags = self.test_flags()
    if test_flags.get("skip"):
        pytest.skip(reason=test_flags["skip"])
    if test_flags.get("xfail"):
        pytest.xfail(reason=test_flags["xfail"])
    func()