(tmp_path: Path)
| 711 | |
| 712 | @pytest.mark.skipif(sys.platform == "win32", reason="bash session requires /bin/bash") |
| 713 | async def test_bash_timeout(tmp_path: Path) -> None: |
| 714 | s = await BashSession.start(str(tmp_path)) |
| 715 | with pytest.raises(TimeoutError): |
| 716 | await s.exec("sleep 5", timeout=0.2) |
| 717 | |
| 718 | |
| 719 | @pytest.mark.skipif(sys.platform == "win32", reason="bash session requires /bin/bash") |