Skip to content

Commit 58d3e84

Browse files
committed
Initialize test UnixConsole to xterm
1 parent 4b70767 commit 58d3e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pyrepl/test_unix_console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def same_console(events):
295295

296296
def test_getheightwidth_with_invalid_environ(self, _os_write):
297297
# gh-128636
298-
console = UnixConsole()
298+
console = UnixConsole(term="xterm")
299299
with os_helper.EnvironmentVarGuard() as env:
300300
env["LINES"] = ""
301301
self.assertIsInstance(console.getheightwidth(), tuple)

0 commit comments

Comments
 (0)