mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
- Issue #17041: Fix testing when Python is configured with the
--without-doc-strings option.
This commit is contained in:
parent
6d3a8605a5
commit
72121c6c30
6 changed files with 44 additions and 16 deletions
|
@ -232,6 +232,7 @@ class TestUpdateWrapper(unittest.TestCase):
|
|||
self.assertEqual(wrapper.attr, 'This is a different test')
|
||||
self.assertEqual(wrapper.dict_attr, f.dict_attr)
|
||||
|
||||
@test_support.requires_docstrings
|
||||
def test_builtin_update(self):
|
||||
# Test for bug #1576241
|
||||
def wrapper():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue