Commit a790fe7f authored by Steven D'Aprano's avatar Steven D'Aprano

Remove expected failure from test of _product internal function.

parent d6ea3011
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment