Does this work if instead of:

```
def skipper(*args, **kwargs):
    pytest.skip()
return skipper
```

You instead do

```
return pytest.mark.skipif(func)
``` 

?