mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-111201: Speed up paste mode in the REPL (#119341)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
cd516cd1f5
commit
e6572e8f98
6 changed files with 21 additions and 16 deletions
|
@ -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(), "")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue