File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def _keep_draining() -> None:
149149
150150 def _drain_stdout (self ) -> Iterator [str ]:
151151 process = cast ("Popen[str]" , self ._process )
152- stdout = cast (IO [str ], process .stdout )
152+ stdout = cast (" IO[str]" , process .stdout )
153153 while True :
154154 if process .poll () is not None : # pragma: no cover
155155 print (f"devpi server with pid { process .pid } at { self ._server_dir } died" ) # noqa: T201
@@ -211,7 +211,7 @@ def __repr__(self) -> str:
211211def _find_free_port () -> int :
212212 with closing (socket .socket (socket .AF_INET , socket .SOCK_STREAM )) as socket_handler :
213213 socket_handler .bind (("" , 0 ))
214- return cast (int , socket_handler .getsockname ()[1 ])
214+ return cast (" int" , socket_handler .getsockname ()[1 ])
215215
216216
217217__all__ = [
You can’t perform that action at this time.
0 commit comments