MCPcopy Create free account
hub / github.com/python/mypy / test_unsatisfiable_constraints

Method test_unsatisfiable_constraints

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

Source from the content-addressed store, hash-verified

40 )
41
42 def test_unsatisfiable_constraints(self) -> None:
43 # The constraints are impossible to satisfy.
44 self.assert_solve(
45 [self.fx.t], [self.supc(self.fx.t, self.fx.a), self.subc(self.fx.t, self.fx.b)], [None]
46 )
47
48 def test_exactly_specified_result(self) -> None:
49 self.assert_solve(

Callers

nothing calls this directly

Calls 3

assert_solveMethod · 0.95
supcMethod · 0.95
subcMethod · 0.95

Tested by

no test coverage detected