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

Commit55fa601

Browse files
committed
Fix potentially unbound variable
1 parent68bee30 commit55fa601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bpython/test/test_curtsies_painting.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def test_enter_text(self):
119119
self.assert_paint(screen, (0,9))
120120

121121
deftest_run_line(self):
122+
orig_stdout=sys.stdout
122123
try:
123-
orig_stdout=sys.stdout
124124
sys.stdout=self.repl.stdout
125125
[self.repl.add_normal_character(c)forcin"1 + 1"]
126126
self.repl.on_enter(new_code=False)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp