Commit 39dc7a1
[3.13] pythongh-130736: Fix asyncio test_shutdown_default_executor_timeout() (pythonGH-130800) (python#130825)
pythongh-130736: Fix asyncio test_shutdown_default_executor_timeout() (pythonGH-130800)
Replace time.sleep() with threading.Event.
(cherry picked from commit 6c48ed7)
Co-authored-by: Victor Stinner <[email protected]>1 parent d00e92b commit 39dc7a1
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
239 | | - | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
250 | 255 | | |
251 | 256 | | |
252 | 257 | | |
| |||
0 commit comments