Issue #23646: Fix test_threading on Windows
1 file changed