diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-05-01 15:42:33 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-05-01 15:42:33 (GMT) |
commit | 6b794b8b590d1fb4fab1c3311de527baf55abe4e (patch) | |
tree | 0013cb2755cfc01b11b7814f531a037b17689682 /Lib/test/test_decimal.py | |
parent | 5de1f824641822accc34328a4c206f785fc653bd (diff) | |
download | cpython-6b794b8b590d1fb4fab1c3311de527baf55abe4e.zip cpython-6b794b8b590d1fb4fab1c3311de527baf55abe4e.tar.gz cpython-6b794b8b590d1fb4fab1c3311de527baf55abe4e.tar.bz2 |
Fix typo and tests without docstrings.
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r-- | 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 index 5a65bc2..8072899 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -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""" |