Only run test_curses when sys.__stdout__ is a tty.  This eliminates the last false positive when running regrtest with -j.
Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
last false positive when running regrtest with -j.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator