(tmp_path: Path)
| 560 | |
| 561 | @pytest.mark.skipif(sys.platform == "win32", reason="bash session requires /bin/bash") |
| 562 | async def test_bash_timeout(tmp_path: Path) -> None: |
| 563 | s = await BashSession.start(str(tmp_path)) |
| 564 | with pytest.raises(TimeoutError): |
| 565 | await s.exec("sleep 5", timeout=0.2) |
| 566 | |
| 567 | |
| 568 | @pytest.mark.skipif(sys.platform == "win32", reason="bash session requires /bin/bash") |