()
| 236 | # The ident still must work for the main thread and dummy threads. |
| 237 | self.assertIsNotNone(threading.current_thread().ident) |
| 238 | def f(): |
| 239 | ident.append(threading.current_thread().ident) |
| 240 | done.set() |
| 241 | done = threading.Event() |
| 242 | ident = [] |
| 243 | with threading_helper.wait_threads_exit(): |
nothing calls this directly
no test coverage detected