FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-117692: Fix `AttributeError` in `DocTestFinder` on wrapped `builtin_or_method` (GH-117699) by miss-islington · Pull Request #117708 · python/cpython · GitHub

/ cpython Public

[3.12] gh-117692: Fix AttributeError in DocTestFinder on wrapped builtin_or_method (GH-117699) - #117708

Merged
AlexWaygood merged 3 commits into
python:3.12from
miss-islington:backport-4bb7d12-3.12
Apr 10, 2024
Merged

[3.12] gh-117692: Fix AttributeError in DocTestFinder on wrapped builtin_or_method (GH-117699)#117708
AlexWaygood merged 3 commits into
python:3.12from
miss-islington:backport-4bb7d12-3.12

Conversation

miss-islington commented Apr 10, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

(cherry picked from commit 4bb7d12)

Co-authored-by: Nikita Sobolev mail@sobolevn.me
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

…builtin_or_method` (pythonGH-117699)

(cherry picked from commit 4bb7d12)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

Copy link
Copy Markdown
Member

Hmm, looks like the @doctest_skip_if decorator doesn't exist on Python 3.12

AlexWaygood disabled auto-merge April 10, 2024 10:31

Copy link
Copy Markdown
Member

Hmm, looks like the @doctest_skip_if decorator doesn't exist on Python 3.12

@sobolevn, reckon we should just backport the doctest_skip_if decorator to 3.12 as part of this PR? It seems pretty simple and low-risk

Copy link
Copy Markdown
Member

See #116758 (comment)
I also thought that skipping this doctest would be easier, but the oirignal PR author had a valid point about doctest internals change in 3.13. We can go with if ...: in this branch.

AlexWaygood enabled auto-merge (squash) April 10, 2024 14:02
AlexWaygood merged commit 653ed76 into python:3.12 Apr 10, 2024
miss-islington deleted the backport-4bb7d12-3.12 branch January 2, 2026 16:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL