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

Method test_both_kinds_of_constraints

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

Source from the content-addressed store, hash-verified

33 )
34
35 def test_both_kinds_of_constraints(self) -> None:
36 self.assert_solve(
37 [self.fx.t],
38 [self.supc(self.fx.t, self.fx.b), self.subc(self.fx.t, self.fx.a)],
39 [self.fx.b],
40 )
41
42 def test_unsatisfiable_constraints(self) -> None:
43 # The constraints are impossible to satisfy.

Callers

nothing calls this directly

Calls 3

assert_solveMethod · 0.95
supcMethod · 0.95
subcMethod · 0.95

Tested by

no test coverage detected