From e360a04dc1d0db8afd0244678d8eff0fdf20f177 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Mon, 22 Apr 2019 23:25:14 +0100 Subject: [PATCH] Use utils.platform for platform checks --- test/06_docker_images/cibuildwheel_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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