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

Method test_approx_equal_both4

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

Source from the content-addressed store, hash-verified

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.
585 self.do_check_both(2.78, 2.75, 0.01, 0.001, False, False)
586 self.do_check_both(971.44, 971.47, 0.02, 3e-5, False, False)
587
588
589class ApproxEqualSpecialsTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

do_check_bothMethod · 0.95

Tested by

no test coverage detected