Files
urh/tests/__init__.py
2017-02-03 11:39:35 +01:00

9 lines
202 B
Python

import os
import sys
f = os.readlink(__file__) if os.path.islink(__file__) else __file__
path = os.path.realpath(os.path.join(f, "..", "..", "src"))
if path not in sys.path:
sys.path.append(path)