8000 bpo-35753: Fix crash in doctest with unwrap-able functions by splbio · Pull Request #22981 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-35753: Fix crash in doctest with unwrap-able functions #22981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bpo-35753: fix expected output for basics() 1/3
  • Loading branch information
splbio committed Nov 22, 2020
commit a1e5031985a7c0fc1b732c3b4a386e6c5a07c7fc
2 changes: 1 addition & 1 deletion Lib/test/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 5614 +443,7 @@ def basics(): r"""
>>> tests = finder.find(sample_func)

>>> print(tests) # doctest: +ELLIPSIS
[<DocTest sample_func from ...:27 (1 example)>]
[<DocTest sample_func from test_doctest.py:28 (1 example)>]

The exact name depends on how test_doctest was invoked, so allow for
leading path components.
Expand Down
0