[Python-checkins] cpython: Fix typo and tests without docstrings.
stefan.krah
python-checkins at python.org
Thu May 1 17:43:10 CEST 2014
http://hg.python.org/cpython/rev/d8b527c7785f
changeset: 90534:d8b527c7785f
user: Stefan Krah <skrah at bytereef.org>
date: Thu May 01 17:42:33 2014 +0200
summary:
Fix typo and tests without docstrings.
files:
Lib/test/test_decimal.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -33,7 +33,7 @@
import numbers
import locale
from test.support import (run_unittest, run_doctest, is_resource_enabled,
- requires_IEEE_754)
+ requires_IEEE_754, requires_docstrings)
from test.support import (check_warnings, import_fresh_module, TestFailed,
run_with_locale, cpython_only)
import random
@@ -5391,7 +5391,8 @@
y = Decimal(10**(9*25)).__sizeof__()
self.assertEqual(y, x+4)
-unittest.skipUnless(C, "test requires C version")
+ at requires_docstrings
+ at unittest.skipUnless(C, "test requires C version")
class SignatureTest(unittest.TestCase):
"""Function signatures"""
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list