14 lines
273 B
Python
14 lines
273 B
Python
"""Local import bootstrap for direct unittest execution."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parent
|
|
SRC = ROOT / "src"
|
|
if SRC.exists() and str(SRC) not in sys.path:
|
|
sys.path.insert(0, str(SRC))
|
|
|