Kaydet (Commit) 6b794b8b authored tarafından Stefan Krah's avatar Stefan Krah

Fix typo and tests without docstrings.

üst 5de1f824
...@@ -33,7 +33,7 @@ import unittest ...@@ -33,7 +33,7 @@ import unittest
import numbers import numbers
import locale import locale
from test.support import (run_unittest, run_doctest, is_resource_enabled, 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, from test.support import (check_warnings, import_fresh_module, TestFailed,
run_with_locale, cpython_only) run_with_locale, cpython_only)
import random import random
...@@ -5391,7 +5391,8 @@ class CWhitebox(unittest.TestCase): ...@@ -5391,7 +5391,8 @@ class CWhitebox(unittest.TestCase):
y = Decimal(10**(9*25)).__sizeof__() y = Decimal(10**(9*25)).__sizeof__()
self.assertEqual(y, x+4) 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): class SignatureTest(unittest.TestCase):
"""Function signatures""" """Function signatures"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment