diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-12-30 11:55:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 11:55:01 (GMT) |
commit | 79c10b7da84f52999dc483fc62c8e758ad3eff23 (patch) | |
tree | bf90cf0734f2ae70750bb49ed17e975314a4be5c /Lib/test | |
parent | 894f2c3c161933bd820ad322b3b678d89bc2377c (diff) | |
download | cpython-79c10b7da84f52999dc483fc62c8e758ad3eff23.zip cpython-79c10b7da84f52999dc483fc62c8e758ad3eff23.tar.gz cpython-79c10b7da84f52999dc483fc62c8e758ad3eff23.tar.bz2 |
gh-99433: Fix `doctest` failure on `types.MethodWrapperType` (#99434)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/doctest_lineno.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/doctest_lineno.py b/Lib/test/doctest_lineno.py index be19851..729a68a 100644 --- a/Lib/test/doctest_lineno.py +++ b/Lib/test/doctest_lineno.py @@ -48,3 +48,6 @@ class MethodWrapper: >>> MethodWrapper.method_with_doctest.__name__ 'method_with_doctest' """ + +# https://github.com/python/cpython/issues/99433 +str_wrapper = object().__str__ |