MCPcopy Index your code
hub / github.com/python/cpython / test_approx_equal_both3

Method test_approx_equal_both3

Lib/test/test_statistics.py:579–581  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

577 self.do_check_both(7.955, 7.952, 0.004, 3.7e-4, True, False)
578
579 def test_approx_equal_both3(self):
580 # Test actual error <= relative error but > absolute error.
581 self.do_check_both(7.955, 7.952, 0.001, 3.8e-4, False, True)
582
583 def test_approx_equal_both4(self):
584 # Test actual error > both absolute and relative error.

Callers

nothing calls this directly

Calls 1

do_check_bothMethod · 0.95

Tested by

no test coverage detected