()
| 454 | break |
| 455 | |
| 456 | def scan_worker(): |
| 457 | deadline = time.monotonic() + DURATION |
| 458 | for i in range(ITERATIONS): |
| 459 | src = scan_sources[i % len(scan_sources)] |
| 460 | try: |
| 461 | # scanstring(basestring, end, encoding, strict) |
| 462 | scanstring(src, 1, "utf-8", 1) |
| 463 | except Exception: |
| 464 | pass |
| 465 | if time.monotonic() > deadline: |
| 466 | break |
| 467 | |
| 468 | half = max(THREADS // 2, 1) |
| 469 | run_scenario( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…