()
| 412 | |
| 413 | |
| 414 | def test_entrysource_Queue_example(): |
| 415 | try: |
| 416 | queue.Queue().get(timeout=0.001) |
| 417 | except queue.Empty: |
| 418 | excinfo = _pytest._code.ExceptionInfo.from_current() |
| 419 | entry = excinfo.traceback[-1] |
| 420 | source = entry.getsource() |
| 421 | assert source is not None |
| 422 | s = str(source).strip() |
| 423 | assert s.startswith("def get") |
| 424 | |
| 425 | |
| 426 | def test_codepath_Queue_example() -> None: |
nothing calls this directly
no test coverage detected