GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — gh-108303: Move `smtpd` to `test.support` by sobolevn · Pull Request #114368 · python/cpython Conversation
|
|
This change should not be backported to 3.11: it was done in Python 3.12. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| from socketserver import (ThreadingUDPServer, DatagramRequestHandler, | ||
| ThreadingTCPServer, StreamRequestHandler) | ||
|
|
||
| with warnings.catch_warnings(): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
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.
There was an error while loading. Please reload this page.
Update test_logging.py and test_smtplib.py. (cherry picked from commit 8f5e7d7) Co-authored-by: Nikita Sobolev <[email protected]>
|
GH-114427 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merged, thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Update test_logging.py and test_smtplib.py.
Update test_logging.py and test_smtplib.py.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.