From c3058d5e4bcafd0440a188c7c2f96dc9131eda77 Mon Sep 17 00:00:00 2001 From: beam Date: Thu, 22 Oct 2026 16:45:49 +0000 Subject: [PATCH] beam: remove sys.path shadowing so CHECK runs against repo modules --- wizard-work/beam/test_csv.py | 2 -- wizard-work/beam/test_safe_eval.py | 2 -- wizard-work/beam/test_sliding_window.py | 2 -- wizard-work/beam/test_topo.py | 2 -- wizard-work/beam/test_topo_beam.py | 2 -- wizard-work/beam/test_topo_sort.py | 2 -- 6 files changed, 12 deletions(-) diff --git a/wizard-work/beam/test_csv.py b/wizard-work/beam/test_csv.py index db1ac66..8c0382e 100644 --- a/wizard-work/beam/test_csv.py +++ b/wizard-work/beam/test_csv.py @@ -1,5 +1,3 @@ -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from csv_rfc4180 import parse_csv, write, loads, dumps def eq(a,b): diff --git a/wizard-work/beam/test_safe_eval.py b/wizard-work/beam/test_safe_eval.py index 25bce52..708dbfd 100644 --- a/wizard-work/beam/test_safe_eval.py +++ b/wizard-work/beam/test_safe_eval.py @@ -1,5 +1,3 @@ -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from safe_eval import evaluate cases = [ diff --git a/wizard-work/beam/test_sliding_window.py b/wizard-work/beam/test_sliding_window.py index 2b3b936..1bd6c88 100644 --- a/wizard-work/beam/test_sliding_window.py +++ b/wizard-work/beam/test_sliding_window.py @@ -1,5 +1,3 @@ -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from sliding_window import SlidingWindow def test_basic(): diff --git a/wizard-work/beam/test_topo.py b/wizard-work/beam/test_topo.py index 8a8ebc4..4aae935 100644 --- a/wizard-work/beam/test_topo.py +++ b/wizard-work/beam/test_topo.py @@ -1,5 +1,3 @@ -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from topo_sort import topo_sort def check(order, edges): diff --git a/wizard-work/beam/test_topo_beam.py b/wizard-work/beam/test_topo_beam.py index f8d54d1..8730b08 100644 --- a/wizard-work/beam/test_topo_beam.py +++ b/wizard-work/beam/test_topo_beam.py @@ -1,5 +1,3 @@ -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from topo import topo_sort, has_cycle, CycleError def test_empty(): diff --git a/wizard-work/beam/test_topo_sort.py b/wizard-work/beam/test_topo_sort.py index 63e1503..d919560 100644 --- a/wizard-work/beam/test_topo_sort.py +++ b/wizard-work/beam/test_topo_sort.py @@ -1,6 +1,4 @@ """Tests for topo_sort.""" -import sys -sys.path.insert(0, "/root/.hermes/wizard-outputs/beam") from topo_sort import topo_sort