Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2de8a8b

Browse files
[3.14]gh-133639: Fixtest_auto_indent_default() doesn't runinput_code (GH-133640) (#133646)
1 parentd35c0e4 commit2de8a8b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

‎Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,11 @@ def test_auto_indent_default(self):
452452
)
453453
# fmt: on
454454

455+
events=code_to_events(input_code)
456+
reader=self.prepare_reader(events)
457+
output=multiline_input(reader)
458+
self.assertEqual(output,output_code)
459+
455460
deftest_auto_indent_continuation(self):
456461
# auto indenting according to previous user indentation
457462
# fmt: off
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix ``TestPyReplAutoindent.test_auto_indent_default()`` doesn't run
2+
``input_code``.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp