This might need to be:

```
if condition:
    raise SkipTest()
return func(*args, **kwargs)
```