From a790fe7ff86f193670b3d8287b22c72cbe675c7b Mon Sep 17 00:00:00 2001 From: Steven D'Aprano Date: Wed, 24 Aug 2016 13:54:31 +1000 Subject: [PATCH] Remove expected failure from test of _product internal function. --- Lib/test/test_statistics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py index 9443ff0c61f..6cac7095c2d 100644 --- a/Lib/test/test_statistics.py +++ b/Lib/test/test_statistics.py @@ -1041,11 +1041,11 @@ class Test_Product(NumericTestCase): self.assertEqual(mant, F(10)) self.assertTrue(isinstance(mant, F)) - @unittest.expectedFailure def test_decimal(self): D = Decimal data = [D('24.5'), D('17.6'), D('0.025'), D('1.3')] - assert False + expected = D('14.014000') + self.assertEqual(statistics._product(data), (0, expected)) def test_mixed_decimal_float(self): # Test that mixed Decimal and float raises.