Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete.
This commit is contained in:
parent
82b34c5dbe
commit
45ad801ed0
|
@ -21,6 +21,12 @@ requires('curses')
|
||||||
curses = import_module('curses')
|
curses = import_module('curses')
|
||||||
curses.panel = import_module('curses.panel')
|
curses.panel = import_module('curses.panel')
|
||||||
|
|
||||||
|
# skip all these tests on FreeBSD: test_curses currently hangs the
|
||||||
|
# FreeBSD buildbots, preventing other tests from running. See issue
|
||||||
|
# #7384.
|
||||||
|
if 'freebsd' in sys.platform:
|
||||||
|
raise unittest.SkipTest('The curses module is broken on FreeBSD. See http://bugs.python.org/issue7384.')
|
||||||
|
|
||||||
# XXX: if newterm was supported we could use it instead of initscr and not exit
|
# XXX: if newterm was supported we could use it instead of initscr and not exit
|
||||||
term = os.environ.get('TERM')
|
term = os.environ.get('TERM')
|
||||||
if not term or term == 'unknown':
|
if not term or term == 'unknown':
|
||||||
|
|
Loading…
Reference in New Issue