Nadeem Vawda <nadeem.va...@gmail.com> added the comment: > Can't we create a dummy/temporary TTY for the curses tests using > pty.openpty()?
I would have thought so, but it seems that savetty() and endwin() both fail when running under '-j0': test test_curses crashed -- Traceback (most recent call last): File "/home/nadeem/code/cpython/python/Lib/test/test_curses.py", line 289, in test_main main(stdscr) File "/home/nadeem/code/cpython/python/Lib/test/test_curses.py", line 269, in main curses.savetty() _curses.error: savetty() returned ERR During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nadeem/code/cpython/python/Lib/test/regrtest.py", line 1139, in runtest_inner indirect_test() File "/home/nadeem/code/cpython/python/Lib/test/test_curses.py", line 291, in test_main curses.endwin() _curses.error: endwin() returned ERR It might be that you need to close stdout and stderr so that there's only one TTY associated with the process, but I suspect that'll break other things. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12669> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com