diff --git a/test/06_docker_images/cibuildwheel_test.py b/test/06_docker_images/cibuildwheel_test.py index 7d326806..428debbc 100644 --- a/test/06_docker_images/cibuildwheel_test.py +++ b/test/06_docker_images/cibuildwheel_test.py @@ -4,7 +4,8 @@ import utils def test(): project_dir = os.path.dirname(__file__) - if not sys.platform.startswith('linux'): + + if utils.platform != 'linux': pytest.skip('the docker test is only relevant to the linux build') # set up the environment