Use utils.platform for platform checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user