How to skip a module in pytest when using Python version-specific syntax?