Fix timeout argument on pexpect spawn class constructor (#11239) (#11240)

This commit is contained in:
Renato Garcia
2024-01-05 07:09:51 -03:00
committed by GitHub
parent 2cafcc90a7
commit 4e62577002

View File

@@ -18,7 +18,7 @@ class spawn(SpawnBase):
self,
command: str,
args: list[str] = [],
timeout: int = 30,
timeout: float | None = 30,
maxread: int = 2000,
searchwindowsize: int | None = None,
logfile: _Logfile | None = None,