From ccdafe3cc63d5c4d97839d0940bbea66f99a2169 Mon Sep 17 00:00:00 2001 From: jdsteve2 <jdsteve2@illinois.edu> Date: Mon, 11 May 2020 21:17:38 -0500 Subject: [PATCH] import from pytools, not loopy --- test/test_graph_tools.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_graph_tools.py b/test/test_graph_tools.py index b598829..001e911 100644 --- a/test/test_graph_tools.py +++ b/test/test_graph_tools.py @@ -3,7 +3,7 @@ import pytest def test_compute_sccs(): - from loopy.tools import compute_sccs + from pytools import compute_sccs import random rng = random.Random(0) @@ -47,7 +47,7 @@ def test_compute_sccs(): def test_compute_topological_order(): - from loopy.tools import compute_topological_order, CycleError + from pytools import compute_topological_order, CycleError empty = {} assert compute_topological_order(empty) == [] @@ -78,7 +78,7 @@ def test_compute_topological_order(): def test_transitive_closure(): - from loopy.tools import compute_transitive_closure + from pytools import compute_transitive_closure # simple test graph = { @@ -148,7 +148,7 @@ def test_transitive_closure(): def test_graph_cycle_finder(): - from loopy.tools import contains_cycle + from pytools import contains_cycle graph = { "a": set(["b", "c"]), @@ -195,7 +195,7 @@ def test_graph_cycle_finder(): def test_induced_subgraph(): - from loopy.tools import get_induced_subgraph + from pytools import get_induced_subgraph graph = { "a": set(["b", "c"]), -- GitLab