$ ./python -m test -v test_time test_statistics
...
======================================================================
FAIL: test_decimals_exact (test.test_statistics.TestHarmonicMean)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_statistics.py", line 1484, in test_decimals_exact
self.assertEqual(self.func(data), D(66528)/70723)
AssertionError: Decimal('0.9406840773157247288717955969') != Decimal('0.9406840773157247288717955970')
======================================================================
FAIL: test_repeated_single_value (test.test_statistics.TestHarmonicMean) (x=Decimal('4.125'), count=2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_statistics.py", line 1332, in test_repeated_single_value
self.assertEqual(self.func(data), x)
AssertionError: Decimal('4.124999999999999999999999999') != Decimal('4.125')
======================================================================
FAIL: test_repeated_single_value (test.test_statistics.TestHarmonicMean) (x=Decimal('4.125'), count=5)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_statistics.py", line 1332, in test_repeated_single_value
self.assertEqual(self.func(data), x)
AssertionError: Decimal('4.124999999999999999999999999') != Decimal('4.125')
======================================================================
FAIL: test_repeated_single_value (test.test_statistics.TestHarmonicMean) (x=Decimal('4.125'), count=10)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_statistics.py", line 1332, in test_repeated_single_value
self.assertEqual(self.func(data), x)
AssertionError: Decimal('4.124999999999999999999999999') != Decimal('4.125')
======================================================================
FAIL: test_repeated_single_value (test.test_statistics.TestHarmonicMean) (x=Decimal('4.125'), count=20)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/serhiy/py/cpython/Lib/test/test_statistics.py", line 1332, in test_repeated_single_value
self.assertEqual(self.func(data), x)
AssertionError: Decimal('4.124999999999999999999999999') != Decimal('4.125')
----------------------------------------------------------------------
|