pytfd_compat/tests/conftest.py

10 lines
197 B
Python

import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
SRC = ROOT / "src"
for path in (ROOT, SRC):
if str(path) not in sys.path:
sys.path.insert(0, str(path))