From cdc3d9cb22e0e08f8297688beed2f72526c4216d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 5 Jun 2020 13:22:49 -0700 Subject: [PATCH] Fix missing FloatOperation in EXTRA_FUNCTIONALITY path. (GH-20655) (#20660) (cherry picked from commit 5fe1df1886e2e53b04bf76ef916857271d3c8f20) Authored-by: Stefan Krah --- Lib/test/test_decimal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index f1abd2aecb12..ed483a470952 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -5201,6 +5201,7 @@ class CWhitebox(unittest.TestCase): DefaultContext = C.DefaultContext InvalidOperation = C.InvalidOperation + FloatOperation = C.FloatOperation DivisionByZero = C.DivisionByZero Overflow = C.Overflow Subnormal = C.Subnormal @@ -5274,6 +5275,7 @@ class CWhitebox(unittest.TestCase): Underflow: C.DecUnderflow, Overflow: C.DecOverflow, DivisionByZero: C.DecDivisionByZero, + FloatOperation: C.DecFloatOperation, InvalidOperation: C.DecIEEEInvalidOperation } IntCond = [ -- 2.47.3