strange-bench / code /tests /conftest.py
sidgairo18's picture
Generation code: generic documentation
3726258 verified
Raw History Blame Contribute Delete
234 Bytes
"""Put ``code/`` on sys.path so the tests import ``strangebench`` without an install.
"""
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))