bpo-43842: Fix race condition in test_logging SMTP test (GH-25436) (G… · python/cpython@816da33 · GitHub
Skip to content

Commit 816da33

Browse files
authored
bpo-43842: Fix race condition in test_logging SMTP test (GH-25436) (GH-25437) (GH-25440)
Fix a race condition in the SMTP test of test_logging. Don't close a file descriptor (socket) from a different thread while asyncore.loop() is polling the file descriptor. (cherry picked from commit 75ec103) (cherry picked from commit e1903e1)
1 parent 582917f commit 816da33

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Lib/test/test_logging.py

Lines changed: 5 additions & 2 deletions
Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)