File size: 321 Bytes
54b0fbc
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
"""Pytest configuration and shared test path setup."""

from __future__ import annotations

import sys
from pathlib import Path

# Allow ``from pi_test_support import ...`` in test modules during collection.
_test_dir = str(Path(__file__).resolve().parent)
if _test_dir not in sys.path:
    sys.path.insert(0, _test_dir)