summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-01-04 10:30:20 (GMT)
committerGitHub <noreply@github.com>2021-01-04 10:30:20 (GMT)
commitb6fc0c406e6b4b86f59b1390142f35da0e364927 (patch)
tree1a0c2aee0d6b79d202c551cb677ead68a9ecacbc
parent0f3b96b368dd7ebb5dcd3759a30322dbd027f292 (diff)
downloadcpython-b6fc0c406e6b4b86f59b1390142f35da0e364927.zip
cpython-b6fc0c406e6b4b86f59b1390142f35da0e364927.tar.gz
cpython-b6fc0c406e6b4b86f59b1390142f35da0e364927.tar.bz2
bpo-42789: Enable using /dev/tty in test_curses. (GH-24085)
It was temporary disabled for debugging.
-rw-r--r--Lib/test/test_curses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py
index 31fb882..7b40d71 100644
--- a/Lib/test/test_curses.py
+++ b/Lib/test/test_curses.py
@@ -85,7 +85,7 @@ class TestCurses(unittest.TestCase):
else:
try:
# Try to open the terminal device.
- tmp = open('/xdev/tty', 'wb', buffering=0)
+ tmp = open('/dev/tty', 'wb', buffering=0)
except OSError:
# As a fallback, use regular file to write control codes.
# Some functions (like savetty) will not work, but at