This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2018-07-21.13:17:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532179064.99.0.56676864532.issue34179@psf.upfronthosting.co.za>
In-reply-to
Content
$ ./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')

----------------------------------------------------------------------
History
Date User Action Args
2018-07-21 13:17:45serhiy.storchakasetrecipients: + serhiy.storchaka
2018-07-21 13:17:44serhiy.storchakasetmessageid: <1532179064.99.0.56676864532.issue34179@psf.upfronthosting.co.za>
2018-07-21 13:17:44serhiy.storchakalinkissue34179 messages
2018-07-21 13:17:44serhiy.storchakacreate