STINNER Victor <vstin...@python.org> 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 multiprocessing.queues * test_logging does: del sys.modules['multiprocessing'] * test_multiprocessing_fork fails to import multiprocessing submodules ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45128> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com