Spaces:
Sleeping
Sleeping
File size: 361 Bytes
8c391c7 | 1 2 3 4 5 6 7 8 9 10 11 | from __future__ import annotations
import sys
from pathlib import Path
# Make package importable when tests are run from the workspace root, e.g.:
# python -m pytest -q OpenEnv/envs/code_security_auditor_env/tests/test_grader_and_env.py
_ENVS_DIR = Path(__file__).resolve().parents[2]
if str(_ENVS_DIR) not in sys.path:
sys.path.insert(0, str(_ENVS_DIR))
|