Use public API imports in tests and docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 12:12:17 +08:00
parent 88d337bb88
commit 8e81879654
5 changed files with 14 additions and 9 deletions

View File

@@ -26,8 +26,13 @@ import unittest
from collections import deque
from collections.abc import Hashable
from spqrtree._graph import Edge, MultiGraph
from spqrtree._spqr import NodeType, SPQRNode, build_spqr_tree
from spqrtree import (
Edge,
MultiGraph,
NodeType,
SPQRNode,
build_spqr_tree,
)
def _make_k3() -> MultiGraph: