Skip to content

[3.7] bpo-36597: fix random doctest failure #12778

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
Apr 11, 2019
Merged

Conversation

methane
Copy link
Member

@methane methane commented Apr 11, 2019

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting core review labels Apr 11, 2019
@methane methane added skip news type-bug An unexpected behavior, bug, or error and removed awaiting core review labels Apr 11, 2019
@@ -492,7 +492,7 @@ is still alive. For instance
>>> obj = Object()
>>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS
<finalize object at ...; for 'Object' at ...>
>>> exit() #doctest:+SKIP
>>> del obj
obj dead or exiting
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this change fix doctest, but this example doesn't match to the document...
I want to ignore this document block in doctest.

@methane methane merged commit ac31da8 into python:3.7 Apr 11, 2019
@methane methane deleted the 3.7-fix-doctest branch April 11, 2019 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants