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

bpo-43651: Fix EncodingWarning in tests. #25655

Merged
merged 1 commit into from
Apr 29, 2021
Merged

Conversation

methane
Copy link
Member

@methane methane commented Apr 27, 2021

  • test_httplib
  • test_httpservers
  • test_logging

https://bugs.python.org/issue43651

* test_httplib
* test_httpservers
* test_logging
@methane methane requested a review from vsajip as a code owner April 27, 2021 08:38
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting core review labels Apr 27, 2021
@methane methane merged commit fa51c0c into python:master Apr 29, 2021
@methane methane deleted the fix-tests branch April 29, 2021 02:34
@@ -1581,7 +1582,8 @@ def cleanup(h1, fn):
h1.close()
os.remove(fn)

with self.check_no_resource_warning():
#with self.check_no_resource_warning():
if 1:
Copy link
Member

Choose a reason for hiding this comment

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

What's the significance of this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just a mistake. Nice catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants