diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-23 04:23:40 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 04:23:40 (GMT) |
| commit | 58dbb4a4b053800bb802aaf9662e3977ad114a52 (patch) | |
| tree | f6be64041fb52f2669e5e8916ef7941cbf3ff77d /Lib/test/test_pyrepl/test_pyrepl.py | |
| parent | 9fa1b4fc466e9857210fd6e87f1cbf0c234886ee (diff) | |
| download | cpython-58dbb4a4b053800bb802aaf9662e3977ad114a52.zip cpython-58dbb4a4b053800bb802aaf9662e3977ad114a52.tar.gz cpython-58dbb4a4b053800bb802aaf9662e3977ad114a52.tar.bz2 | |
[3.13] gh-111201: Speed up paste mode in the REPL (#119341) (GH-119432) (#119439)
(cherry picked from commit e6572e8f98d33994d2d0dd3afa92a2a72ee642a9)
Also includes:
* gh-111201: Use calc_complete_screen after bracketed paste in PyREPL (GH-119432)
(cherry picked from commit 14b063cbf1bb11a489d04a31f277edba0fc8893c)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Diffstat (limited to 'Lib/test/test_pyrepl/test_pyrepl.py')
| -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 7dff288..bdcabf9 100644 --- a/Lib/test/test_pyrepl/test_pyrepl.py +++ b/Lib/test/test_pyrepl/test_pyrepl.py @@ -587,7 +587,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(), "") |
