diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-27 18:03:39 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-27 18:03:39 (GMT) |
| commit | 26f116651030c77c93f0a98026baf7812963a30c (patch) | |
| tree | 474015b8b08aa48ab9eeca569cb22109f0028f08 /Lib/test/test_functools.py | |
| parent | 60cc32382f0a568723da8cb3c1b3fc532ab41d58 (diff) | |
| parent | 9d0add0c7e513a92ee4321aa5be70121c4c1e1e7 (diff) | |
| download | cpython-26f116651030c77c93f0a98026baf7812963a30c.zip cpython-26f116651030c77c93f0a98026baf7812963a30c.tar.gz cpython-26f116651030c77c93f0a98026baf7812963a30c.tar.bz2 | |
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
Diffstat (limited to 'Lib/test/test_functools.py')
| -rw-r--r-- | Lib/test/test_functools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index c4910a7..47b3df8 100644 --- a/Lib/test/test_functools.py +++ b/Lib/test/test_functools.py @@ -290,6 +290,7 @@ class TestUpdateWrapper(unittest.TestCase): with self.assertRaises(AttributeError): functools.update_wrapper(wrapper, f, assign, update) + @support.requires_docstrings @unittest.skipIf(sys.flags.optimize >= 2, "Docstrings are omitted with -O2 and above") def test_builtin_update(self): |
