test_ok1/py/apigen/tracer/testing/runtest.py

6 lines
99 B
Python

def cut_pyc(f_name):
if f_name.endswith('.pyc'):
return f_name[:-1]
return f_name