]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo and tests without docstrings.
authorStefan Krah <skrah@bytereef.org>
Thu, 1 May 2014 15:42:33 +0000 (17:42 +0200)
committerStefan Krah <skrah@bytereef.org>
Thu, 1 May 2014 15:42:33 +0000 (17:42 +0200)
Lib/test/test_decimal.py

index 5a65bc288bc35dd1e78b7e6c3385c03b3de9245b..8072899711ac8cb2d63f4c365097d5fa59802f5e 100644 (file)
@@ -33,7 +33,7 @@ import unittest
 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 @@ class CWhitebox(unittest.TestCase):
             y = Decimal(10**(9*25)).__sizeof__()
             self.assertEqual(y, x+4)
 
-unittest.skipUnless(C, "test requires C version")
+@requires_docstrings
+@unittest.skipUnless(C, "test requires C version")
 class SignatureTest(unittest.TestCase):
     """Function signatures"""