Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b794b8

Browse files
author
Stefan Krah
committed
Fix typo and tests without docstrings.
1 parent 5de1f82 commit 6b794b8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lib/test/test_decimal.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import numbers
3434
import locale
3535
from test.support import (run_unittest, run_doctest, is_resource_enabled,
36-
requires_IEEE_754)
36+
requires_IEEE_754, requires_docstrings)
3737
from test.support import (check_warnings, import_fresh_module, TestFailed,
3838
run_with_locale, cpython_only)
3939
import random
@@ -5391,7 +5391,8 @@ def test_sizeof(self):
53915391
y = Decimal(10**(9*25)).__sizeof__()
53925392
self.assertEqual(y, x+4)
53935393

5394-
unittest.skipUnless(C, "test requires C version")
5394+
@requires_docstrings
5395+
@unittest.skipUnless(C, "test requires C version")
53955396
class SignatureTest(unittest.TestCase):
53965397
"""Function signatures"""
53975398

0 commit comments

Comments
 (0)