Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed May 7, 2024
1 parent 672d1b4 commit 1525bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/_pyrepl/simple_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def more_lines(unicodetext: str) -> bool:

input_name = f"<python-input-{input_n}>"
linecache._register_code(input_name, statement, "<stdin>") # type: ignore[attr-defined]
more = console.push(_strip_final_indent(statement), filename=input_name) # type: ignore[call-arg]
more = console.push(_strip_final_indent(statement), filename=input_name)
assert not more
input_n += 1
except KeyboardInterrupt:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_pyrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,4 +997,4 @@ def test_push_multiline(self):
mock_runsource.assert_called_once_with('if True:\n print("Hello, world!")', '<console>', symbol='exec')

if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 1525bcf

Please sign in to comment.