diff --git a/test/06_docker_images/setup.py b/test/06_docker_images/setup.py index 75b922a6..d341d5ff 100644 --- a/test/06_docker_images/setup.py +++ b/test/06_docker_images/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, Extension if sys.argv[-1] != '--name': # check that we're running in the correct docker image as specified in the # environment options CIBW_MANYLINUX1_*_IMAGE - if not os.path.exists('/dockcross'): + if 'linux' in sys.platform and not os.path.exists('/dockcross'): raise Exception('/dockcross directory not found. Is this test running in the correct docker image?') setup(