Skip to content

Commit 1525bcf

Browse files
committed
Fix CI
1 parent 672d1b4 commit 1525bcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/_pyrepl/simple_interact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def more_lines(unicodetext: str) -> bool:
149149

150150
input_name = f"<python-input-{input_n}>"
151151
linecache._register_code(input_name, statement, "<stdin>") # type: ignore[attr-defined]
152-
more = console.push(_strip_final_indent(statement), filename=input_name) # type: ignore[call-arg]
152+
more = console.push(_strip_final_indent(statement), filename=input_name)
153153
assert not more
154154
input_n += 1
155155
except KeyboardInterrupt:

Lib/test/test_pyrepl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,4 +997,4 @@ def test_push_multiline(self):
997997
mock_runsource.assert_called_once_with('if True:\n print("Hello, world!")', '<console>', symbol='exec')
998998

999999
if __name__ == '__main__':
1000-
unittest.main()
1000+
unittest.main()

0 commit comments

Comments
 (0)