Skip to content
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

Use _typeshed.Self with __enter__ #5723

Merged
merged 3 commits into from
Jul 4, 2021
Merged

Conversation

gruebel
Copy link
Contributor

@gruebel gruebel commented Jul 2, 2021

Relates to #5676

I also changed the return type in unittest.case._AssertLogsContext to the correct one _LoggingWatcher.

@github-actions

This comment has been minimized.

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
@github-actions

This comment has been minimized.

Co-authored-by: Akuli <akuviljanen17@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2021

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@Akuli Akuli merged commit d68701c into python:master Jul 4, 2021
@gruebel gruebel deleted the adjust-return-self branch July 5, 2021 13:42
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