Skip to content

Commit 8c1328c

Browse files
committed
Use curses.tigetstr() on 3.13
1 parent 65bc994 commit 8c1328c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,8 +1466,8 @@ def test_no_newline(self):
14661466
safe_patterns.append(r'\x1b\[\?12[hl]') # cursor blinking
14671467

14681468
# rmam / smam - automatic margins
1469-
rmam = ti.get("rmam")
1470-
smam = ti.get("smam")
1469+
rmam = curses.tigetstr("rmam")
1470+
smam = curses.tigetstr("smam")
14711471
if rmam:
14721472
safe_patterns.append(re.escape(rmam.decode("ascii")))
14731473
if smam:

0 commit comments

Comments
 (0)