[issue45128] test_multiprocessing_fork fails if run sequentially after test_logging

2021-09-16 Thread STINNER Victor
STINNER Victor added the comment: The issue can be reproduced just with these lines: --- import sys import multiprocessing.queues del sys.modules['multiprocessing'] import multiprocessing import multiprocessing.connection from multiprocessing.connection import wait connection = multiprocessing.

[issue45128] test_multiprocessing_fork fails if run sequentially after test_logging

2021-09-16 Thread STINNER Victor
STINNER Victor added the comment: > ./python -m test -m test.test_logging.LogRecordTest.test_multiprocessing > test_genericalias test_logging test_multiprocessing_fork -v This command reproduces the issue: * importing test.test_genericalias imports multiprocessing submodules like multiproce

[issue45128] test_multiprocessing_fork fails if run sequentially after test_logging

2021-09-16 Thread STINNER Victor
Change by STINNER Victor : -- title: test_multiprocessing fails sporadically on the release artifacts -> test_multiprocessing_fork fails if run sequentially after test_logging ___ Python tracker ___