]> granicus.if.org Git - python/commit
initscr() will exit if there's an error. Try to catch the obvious failure
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 6 Jan 2006 04:18:21 +0000 (04:18 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 6 Jan 2006 04:18:21 +0000 (04:18 +0000)
commit9f39f6853342df9af677810f65f655cc58c20986
tree4516ef85cb6941aeeaa32e55516d6f66b4439677
parenta9652f11ade5566c2429fb16902fe1cc3f2f1f70
initscr() will exit if there's an error.  Try to catch the obvious failure
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)

Skip the test if TERM isn't set.  This seems to occur when running under
buildbot and presumably cron.

For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html

Will backport if it works.
Lib/test/test_curses.py