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

Method test_approx_equal_both2

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

Source from the content-addressed store, hash-verified

573 self.do_check_both(-7.387, -7.386, 0.002, 0.0002, True, True)
574
575 def test_approx_equal_both2(self):
576 # Test actual error <= absolute error but > relative error.
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.

Callers

nothing calls this directly

Calls 1

do_check_bothMethod · 0.95

Tested by

no test coverage detected