bpo-42789: Enable using /dev/tty in test_curses. (GH-24085)
It was temporary disabled for debugging.
This commit is contained in:
parent
0f3b96b368
commit
b6fc0c406e
|
@ -85,7 +85,7 @@ class TestCurses(unittest.TestCase):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
# Try to open the terminal device.
|
# Try to open the terminal device.
|
||||||
tmp = open('/xdev/tty', 'wb', buffering=0)
|
tmp = open('/dev/tty', 'wb', buffering=0)
|
||||||
except OSError:
|
except OSError:
|
||||||
# As a fallback, use regular file to write control codes.
|
# As a fallback, use regular file to write control codes.
|
||||||
# Some functions (like savetty) will not work, but at
|
# Some functions (like savetty) will not work, but at
|
||||||
|
|
Loading…
Reference in New Issue