MCPcopy
hub / github.com/python/mypy / test_topsort_empty

Method test_topsort_empty

mypy/test/testgraph.py:21–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20class GraphSuite(Suite):
21 def test_topsort_empty(self) -> None:
22 data: dict[AbstractSet[str], set[AbstractSet[str]]] = {}
23 assert_equal(list(topsort(data)), [])
24
25 def test_topsort(self) -> None:
26 a = frozenset({"A"})

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
topsortClass · 0.90
listClass · 0.85

Tested by

no test coverage detected