-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Added with context manager to if clauses in _monkey_patch #19367
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
Conversation
@ogrisel Please take a look. The number of failed tests is down to 10, but now, instead of a
|
The |
#DataUmbrella |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Let's see if the continuous integration is happier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reference Issues/PRs
References #19349
What does this implement/fix? Explain your changes.
Added a
with open()
context manager when reading files in the_monkey_patch_webbased_functions
function.Any other comments?
Reduces the number of failed tests from 33 to 16.