mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430)
(cherry picked from commit 4e5b27e6a3
)
This commit is contained in:
parent
80b2bad2c2
commit
fe2b4dd3c0
11 changed files with 39 additions and 16 deletions
|
@ -7,7 +7,7 @@ import tempfile
|
|||
import unittest
|
||||
|
||||
from test.support import (requires, verbose, SaveSignals, cpython_only,
|
||||
check_disallow_instantiation)
|
||||
check_disallow_instantiation, MISSING_C_DOCSTRINGS)
|
||||
from test.support.import_helper import import_module
|
||||
|
||||
# Optionally test curses module. This currently requires that the
|
||||
|
@ -1141,6 +1141,8 @@ class TestCurses(unittest.TestCase):
|
|||
with self.assertRaises(TypeError):
|
||||
del stdscr.encoding
|
||||
|
||||
@unittest.skipIf(MISSING_C_DOCSTRINGS,
|
||||
"Signature information for builtins requires docstrings")
|
||||
def test_issue21088(self):
|
||||
stdscr = self.stdscr
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue