Changeset 13654


Ignore:
Timestamp:
Oct 3, 2019 10:59:45 AM (2 months ago)
Author:
randersson
Message:

#5819 Modified condition with sys.platform since CentOS 7.4 apparently returns 'linux2' when using sys.platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/Python/src/tests_jmodelica/test_compiler.py

    r13649 r13654  
    485485        model_name = 'BouncingBall'
    486486        file_name = "NonExistantFile"
    487         if sys.platform == 'linux':
     487        if 'linux' in sys.platform:
     488            # note with CentOS 7.4  sys.platform==linux2
    488489            platform_specific_msg = "No such file or directory"
    489490        else:
Note: See TracChangeset for help on using the changeset viewer.