| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This change should not be backported to 3.11: it was done in Python 3.12. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
| from socketserver import (ThreadingUDPServer, DatagramRequestHandler, | ||
| ThreadingTCPServer, StreamRequestHandler) | ||
|
|
||
| with warnings.catch_warnings(): |
There was a problem hiding this comment.
The change removes with warnings.catch_warnings(): but apparently, it's useless. The test still pass without it:
$ ./python -Werror -m test test_logging test_smtplib -j0 Using random seed: 1598323201 0:00:00 load avg: 0.96 Run 2 tests in parallel using 2 worker processes 0:00:02 load avg: 1.37 [1/2] test_smtplib passed 0:00:18 load avg: 1.22 [2/2] test_logging passed == Tests result: SUCCESS == All 2 tests OK. Total duration: 18.9 sec Total tests: run=317 skipped=2 Total test files: run=2/2 Result: SUCCESS
Sorry, something went wrong.
Update test_logging.py and test_smtplib.py. (cherry picked from commit 8f5e7d7) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
GH-114427 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
Merged, thanks. |
Sorry, something went wrong.
Update test_logging.py and test_smtplib.py.
Update test_logging.py and test_smtplib.py.
| Back | FazBrowse Home | New Git URL |
This module was removed from stdlib in #93246
But, since it is not really a test file, it should have been moved to Lib/test/support, not Lib/test. This PR fixes that :)
Now this is in line with asyncore and asynchat.