Commit d855e53
authored
bpo-30131: test_logging now joins queue threads (python#1298) (python#1318)
QueueListenerTest of test_logging now closes the multiprocessing
Queue and joins its thread to prevent leaking dangling threads to
following tests.
Add also @support.reap_threads to detect earlier if a test leaks
threads (and try to "cleanup" these threads).
(cherry picked from commit 8ca2f2f)1 parent 0eda2d4 commit d855e53
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
| 3070 | + | |
3070 | 3071 | | |
3071 | 3072 | | |
3072 | 3073 | | |
| |||
3076 | 3077 | | |
3077 | 3078 | | |
3078 | 3079 | | |
| 3080 | + | |
3079 | 3081 | | |
3080 | 3082 | | |
3081 | 3083 | | |
3082 | 3084 | | |
| 3085 | + | |
| 3086 | + | |
3083 | 3087 | | |
3084 | 3088 | | |
3085 | 3089 | | |
| |||
3092 | 3096 | | |
3093 | 3097 | | |
3094 | 3098 | | |
| 3099 | + | |
3095 | 3100 | | |
3096 | 3101 | | |
3097 | 3102 | | |
| |||
3104 | 3109 | | |
3105 | 3110 | | |
3106 | 3111 | | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
3107 | 3115 | | |
3108 | 3116 | | |
3109 | 3117 | | |
| |||
0 commit comments