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

Method test_poly_free_pair_with_bounds

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

Source from the content-addressed store, hash-verified

141 )
142
143 def test_poly_free_pair_with_bounds(self) -> None:
144 t_prime = self.fx.t.copy_modified(upper_bound=self.fx.b)
145 self.assert_solve(
146 [self.fx.t, self.fx.ub],
147 [self.subc(self.fx.t, self.fx.ub)],
148 [t_prime, t_prime],
149 [t_prime],
150 allow_polymorphic=True,
151 )
152
153 def test_poly_free_pair_with_bounds_uninhabited(self) -> None:
154 self.assert_solve(

Callers

nothing calls this directly

Calls 3

assert_solveMethod · 0.95
subcMethod · 0.95
copy_modifiedMethod · 0.45

Tested by

no test coverage detected