Skip to content

Commit b6fc0c4

Browse files
bpo-42789: Enable using /dev/tty in test_curses. (GH-24085)
It was temporary disabled for debugging.
1 parent 0f3b96b commit b6fc0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_curses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def setUp(self):
8585
else:
8686
try:
8787
# Try to open the terminal device.
88-
tmp = open('/xdev/tty', 'wb', buffering=0)
88+
tmp = open('/dev/tty', 'wb', buffering=0)
8989
except OSError:
9090
# As a fallback, use regular file to write control codes.
9191
# Some functions (like savetty) will not work, but at

0 commit comments

Comments
 (0)