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

Method test_regression_20561

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

Source from the content-addressed store, hash-verified

1416 self.assertApproxEqual(actual, expected)
1417
1418 def test_regression_20561(self):
1419 # Regression test for issue 20561.
1420 # See http://bugs.python.org/issue20561
1421 d = Decimal('1e4')
1422 self.assertEqual(statistics.mean([d]), d)
1423
1424 def test_regression_25177(self):
1425 # Regression test for issue 25177.

Callers

nothing calls this directly

Calls 3

DecimalClass · 0.90
meanMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected