bpo-42789: Enable using /dev/tty in test_curses. (GH-24085)

It was temporary disabled for debugging.
This commit is contained in:
Serhiy Storchaka 2021-01-04 12:30:20 +02:00 committed by GitHub
parent 0f3b96b368
commit b6fc0c406e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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