diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2021-01-04 10:30:20 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-04 10:30:20 (GMT) |
| commit | b6fc0c406e6b4b86f59b1390142f35da0e364927 (patch) | |
| tree | 1a0c2aee0d6b79d202c551cb677ead68a9ecacbc /Lib/test/test_curses.py | |
| parent | 0f3b96b368dd7ebb5dcd3759a30322dbd027f292 (diff) | |
| download | cpython-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.
Diffstat (limited to 'Lib/test/test_curses.py')
| -rw-r--r-- | Lib/test/test_curses.py | 2 |
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 |
