MCPcopy Index your code
hub / github.com/python/mypy / test_secondary_constraint_closure

Method test_secondary_constraint_closure

mypy/test/testsolve.py:242–249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 )
241
242 def test_secondary_constraint_closure(self) -> None:
243 self.assert_transitive_closure(
244 [self.fx.t.id, self.fx.s.id],
245 [self.supc(self.fx.s, self.fx.gt), self.subc(self.fx.s, self.fx.ga)],
246 set(),
247 {self.fx.t.id: set(), self.fx.s.id: {self.fx.gt}},
248 {self.fx.t.id: {self.fx.a}, self.fx.s.id: {self.fx.ga}},
249 )
250
251 def assert_solve(
252 self,

Callers

nothing calls this directly

Calls 4

supcMethod · 0.95
subcMethod · 0.95
setClass · 0.85

Tested by

no test coverage detected