def test_trace_but_cant_compile(self):
    osx_trace.create_trace_cmd = (lambda x: CompilerNeededException())
    ret = osx_trace_main('record')
    assert (ret != 0)
def test_trace_but_cant_compile(self):
    osx_trace.create_trace_cmd = (lambda x: CompilerNeededException())
    ret = osx_trace_main('record')
    assert (ret != 0)