Skip to content

Commit 90ce2e4

Browse files
committed
PHASE 13.7.B: Linux platform compatibility fixes
safe_mode.py: - Whitelist ROOT _process_root_events threads (Linux-only) - Use substring matching for thread names conftest.py: - Add dfextensions parent path for sibling package imports - Works in development mode and after pip install test_safe_mode.py: - Update assertion to match new error message toy_nd.py: - Add ensure_rvec_dictionaries() public API - Extend detector layers from 7 to 18 (ITS2 + TPC) run_tests.sh: - Rename PHASE_BEGIN tag to PHASE_BEGIN_RDataFrameDSL Test results: 2154 passed, 2 failed (99.9%)
1 parent 3e22ab7 commit 90ce2e4

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

UTILS/dfextensions/RDataFrameDSL/tests/conftest.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@
3333
if _this_dir not in sys.path:
3434
sys.path.insert(0, _this_dir)
3535

36+
# =============================================================================
37+
# Path Setup for dfextensions sibling packages (dfdraw, AliasDataFrame)
38+
# Only needed during development; unnecessary after pip install
39+
# =============================================================================
40+
41+
from pathlib import Path
42+
43+
try:
44+
from dfextensions.dfdraw import DFDraw # Check if already available (pip installed)
45+
except ImportError:
46+
# Not pip-installed, add development path
47+
# Path: tests/conftest.py -> tests/ -> RDataFrameDSL/ -> dfextensions/ -> UTILS/
48+
_utils_dir = Path(__file__).resolve().parent.parent.parent.parent
49+
if _utils_dir.exists() and str(_utils_dir) not in sys.path:
50+
sys.path.insert(0, str(_utils_dir))
51+
52+
3653
# =============================================================================
3754
# Import invariant schema configuration
3855
# =============================================================================

0 commit comments

Comments
 (0)