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

Method test_multiple_variables

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

Source from the content-addressed store, hash-verified

53 )
54
55 def test_multiple_variables(self) -> None:
56 self.assert_solve(
57 [self.fx.t, self.fx.s],
58 [
59 self.supc(self.fx.t, self.fx.b),
60 self.supc(self.fx.s, self.fx.c),
61 self.subc(self.fx.t, self.fx.a),
62 ],
63 [self.fx.b, self.fx.c],
64 )
65
66 def test_no_constraints_for_var(self) -> None:
67 self.assert_solve([self.fx.t], [], [self.fx.a_uninhabited])

Callers

nothing calls this directly

Calls 3

assert_solveMethod · 0.95
supcMethod · 0.95
subcMethod · 0.95

Tested by

no test coverage detected