Skip to content

Commit d43ba4b

Browse files
Remove a let
1 parent fd36797 commit d43ba4b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/tests/test_array_api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ def test_source(self, snapshot_py, benchmark):
145145

146146
def test_source_optimized(self, snapshot_py, benchmark):
147147
egraph = EGraph()
148-
with egraph:
149-
expr = trace_lda(egraph)
150-
optimized_expr = egraph.simplify(expr, array_api_numba_schedule)
148+
expr = trace_lda(egraph)
149+
optimized_expr = egraph.simplify(expr, array_api_numba_schedule)
151150
assert benchmark(load_source, optimized_expr, egraph) == snapshot_py
152151

153152
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)