Message322098
$ ./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')
---------------------------------------------------------------------- |
|
Date |
User |
Action |
Args |
2018-07-21 13:17:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2018-07-21 13:17:44 | serhiy.storchaka | set | messageid: <1532179064.99.0.56676864532.issue34179@psf.upfronthosting.co.za> |
2018-07-21 13:17:44 | serhiy.storchaka | link | issue34179 messages |
2018-07-21 13:17:44 | serhiy.storchaka | create | |
|