(idx: int)
| 137 | n_writes = 50 |
| 138 | |
| 139 | def worker(idx: int) -> None: |
| 140 | with TranscriptWriter(path) as w: |
| 141 | for j in range(n_writes): |
| 142 | w.append({"thread": idx, "n": j}) |
| 143 | |
| 144 | threads = [threading.Thread(target=worker, args=(i,)) for i in range(n_threads)] |
| 145 | for t in threads: |
nothing calls this directly
no test coverage detected