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

Method test_floats

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

Source from the content-addressed store, hash-verified

1202 (int, Fraction(60), 8))
1203
1204 def test_floats(self):
1205 self.assertEqual(self.func([0.25]*20),
1206 (float, Fraction(5.0), 20))
1207
1208 def test_fractions(self):
1209 self.assertEqual(self.func([Fraction(1, 1000)]*500),

Callers

nothing calls this directly

Calls 3

FractionClass · 0.90
assertEqualMethod · 0.45
funcMethod · 0.45

Tested by

no test coverage detected