- Issue #17041: Fix testing when Python is configured with the

--without-doc-strings option.
This commit is contained in:
Serhiy Storchaka 2013-01-27 19:45:49 +02:00
parent 6d3a8605a5
commit 72121c6c30
6 changed files with 44 additions and 16 deletions

View file

@ -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():