diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2024-05-22 05:28:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 05:28:32 (GMT) |
commit | e6572e8f98d33994d2d0dd3afa92a2a72ee642a9 (patch) | |
tree | a37b8588fde40dbd36c74743de1625cd6c13a467 /Lib/test | |
parent | cd516cd1f5e94dba887353f421513fd172efadf3 (diff) | |
download | cpython-e6572e8f98d33994d2d0dd3afa92a2a72ee642a9.zip cpython-e6572e8f98d33994d2d0dd3afa92a2a72ee642a9.tar.gz cpython-e6572e8f98d33994d2d0dd3afa92a2a72ee642a9.tar.bz2 |
gh-111201: Speed up paste mode in the REPL (#119341)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_pyrepl/test_pyrepl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pyrepl/test_pyrepl.py b/Lib/test/test_pyrepl/test_pyrepl.py index 930f6759..7b5217e 100644 --- a/Lib/test/test_pyrepl/test_pyrepl.py +++ b/Lib/test/test_pyrepl/test_pyrepl.py @@ -578,7 +578,7 @@ class TestPyReplCompleter(TestCase): reader = self.prepare_reader(events, namespace) mock_get_reader.return_value = reader output = readline_multiline_input(more_lines, ">>>", "...") - self.assertEqual(output[0], "dummy.test_func.__") + self.assertEqual(output, "dummy.test_func.__") self.assertEqual(mock_stderr.getvalue(), "") |