[3.14] gh-133639: Fix test_auto_indent_default() doesn't run input_code (GH-133640) (#133646)

This commit is contained in:
Miss Islington (bot) 2025-05-08 10:50:57 +02:00 committed by GitHub
parent d35c0e48da
commit 2de8a8b7e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -452,6 +452,11 @@ class TestPyReplAutoindent(TestCase):
)
# fmt: on
events = code_to_events(input_code)
reader = self.prepare_reader(events)
output = multiline_input(reader)
self.assertEqual(output, output_code)
def test_auto_indent_continuation(self):
# auto indenting according to previous user indentation
# fmt: off

View file

@ -0,0 +1,2 @@
Fix ``TestPyReplAutoindent.test_auto_indent_default()`` doesn't run
``input_code``.