(self)
| 301 | |
| 302 | class WriterThread(threading.Thread): |
| 303 | def run(self): |
| 304 | with CreateKey(HKEY_CURRENT_USER, test_key_name) as key: |
| 305 | values_iter = itertools.cycle(values) |
| 306 | while not done: |
| 307 | val = next(values_iter) |
| 308 | SetValueEx(key, 'test_value', 0, REG_BINARY, val) |
| 309 | ready.set() |
| 310 | |
| 311 | thread = WriterThread() |
| 312 | thread.start() |
nothing calls this directly
no test coverage detected