summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r--Lib/test/test_decimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index d0ba348..4d3ea73 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -587,7 +587,7 @@ class ExplicitConstructionTest:
self.assertRaises(InvalidOperation, Decimal, "1_2_\u00003")
@cpython_only
- @requires_legacy_unicode_capi
+ @requires_legacy_unicode_capi()
@warnings_helper.ignore_warnings(category=DeprecationWarning)
def test_from_legacy_strings(self):
import _testcapi
@@ -2919,7 +2919,7 @@ class ContextAPItests:
Overflow])
@cpython_only
- @requires_legacy_unicode_capi
+ @requires_legacy_unicode_capi()
@warnings_helper.ignore_warnings(category=DeprecationWarning)
def test_from_legacy_strings(self):
import _testcapi