From d5d2321719073fa69dfd1983923b45632a46035a Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 25 May 2024 11:23:28 -0400 Subject: [PATCH] fix type hint --- Lib/test/test_pyrepl/test_pyrepl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pyrepl/test_pyrepl.py b/Lib/test/test_pyrepl/test_pyrepl.py index 3146ee9c223807..32fcbe8c2cbb9c 100644 --- a/Lib/test/test_pyrepl/test_pyrepl.py +++ b/Lib/test/test_pyrepl/test_pyrepl.py @@ -775,7 +775,7 @@ def test_dumb_terminal_exits_cleanly(self): self.assertNotIn("Exception", output) self.assertNotIn("Traceback", output) - def run_repl(self, repl_input: str | list[str], env: dict | None = None) -> str: + def run_repl(self, repl_input: str | list[str], env: dict | None = None) -> tuple[str, int]: master_fd, slave_fd = pty.openpty() process = subprocess.Popen( [sys.executable, "-i", "-u"],