def test_measmodestmt_validation():
    assert_raises(ValueError, MeasuringModeStmt.from_excellon, 'M70')
    assert_raises(ValueError, MeasuringModeStmt, 'millimeters')
Try to open the file. If not, we try to open the filepath as one
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/tests/test_excellon_statements.py/test_measmodestmt_validation--crossover with--dataset/ETHPy150Open spranesh/Redhawk/redhawk/utils/util.py/GetRelativeFilePath