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

Method test_exactly_equal_ints

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

Source from the content-addressed store, hash-verified

385 self.assertTrue(result, 'equality failure for x=%r' % -x)
386
387 def test_exactly_equal_ints(self):
388 # Test that equal int values are exactly equal.
389 for n in [42, 19740, 14974, 230, 1795, 700245, 36587]:
390 self.do_exactly_equal_test(n, 0, 0)
391
392 def test_exactly_equal_floats(self):
393 # Test that equal float values are exactly equal.

Callers

nothing calls this directly

Calls 1

do_exactly_equal_testMethod · 0.95

Tested by

no test coverage detected