MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_tuple_wrong_len

Method test_tuple_wrong_len

testing/python/approx.py:579–581  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

577 assert approx(expected, rel=5e-8, abs=0) != actual
578
579 def test_tuple_wrong_len(self):
580 assert (1, 2) != approx((1,))
581 assert (1, 2) != approx((1, 2, 3))
582
583 def test_tuple_vs_other(self):
584 assert 1 != approx((1,))

Callers

nothing calls this directly

Calls 1

approxFunction · 0.90

Tested by

no test coverage detected