Use utils.platform for platform checks

This commit is contained in:
Joe Rickerby
2019-04-22 23:25:14 +01:00
parent 9050137d2b
commit e360a04dc1
+2 -1
View File
@@ -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