Need to import the compat version, so this works across different py versions. See existing cases of skipUnless in tests.