How to use skip and xfail to deal with tests that cannot succeed - pytest documentation