Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenetriguba committed May 25, 2024
1 parent 891477b commit 2fabf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_pyrepl/test_pyrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def run_repl(self, repl_input: str | list[str], env: dict | None = None) -> str:
os.write(master_fd, repl_input.encode("utf-8"))

output = []
while select.select([master_fd], [], [], 0.05)[0]:
while select.select([master_fd], [], [], 0.5)[0]:
data = os.read(master_fd, 1024).decode("utf-8")
if not data:
break
Expand Down

0 comments on commit 2fabf57

Please sign in to comment.