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

Method test_ints

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

Source from the content-addressed store, hash-verified

1198 self.assertEqual(self.func(data), (int, Fraction(0), 0))
1199
1200 def test_ints(self):
1201 self.assertEqual(self.func([1, 5, 3, -4, -8, 20, 42, 1]),
1202 (int, Fraction(60), 8))
1203
1204 def test_floats(self):
1205 self.assertEqual(self.func([0.25]*20),

Callers

nothing calls this directly

Calls 3

FractionClass · 0.90
assertEqualMethod · 0.45
funcMethod · 0.45

Tested by

no test coverage detected