()
| 381 | |
| 382 | |
| 383 | def test_entrysource_Queue_example(): |
| 384 | try: |
| 385 | queue.Queue().get(timeout=0.001) |
| 386 | except queue.Empty: |
| 387 | excinfo = _pytest._code.ExceptionInfo.from_current() |
| 388 | entry = excinfo.traceback[-1] |
| 389 | source = entry.getsource() |
| 390 | assert source is not None |
| 391 | s = str(source).strip() |
| 392 | assert s.startswith("def get") |
| 393 | |
| 394 | |
| 395 | def test_codepath_Queue_example() -> None: |
nothing calls this directly
no test coverage detected