From: Serhiy Storchaka Date: Mon, 4 Jan 2021 10:30:20 +0000 (+0200) Subject: bpo-42789: Enable using /dev/tty in test_curses. (GH-24085) X-Git-Tag: v3.10.0a4~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6fc0c406e6b4b86f59b1390142f35da0e364927;p=thirdparty%2FPython%2Fcpython.git bpo-42789: Enable using /dev/tty in test_curses. (GH-24085) It was temporary disabled for debugging. --- diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 31fb882b7243..7b40d7147421 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