mirror of https://github.com/python/cpython
cygwin's curses support isn't up to scratch to run the tests.
This commit is contained in:
parent
1b6cab6531
commit
768018592c
|
@ -24,6 +24,9 @@ term = os.environ.get('TERM')
|
||||||
if not term or term == 'unknown':
|
if not term or term == 'unknown':
|
||||||
raise TestSkipped, "$TERM=%r, calling initscr() may cause exit" % term
|
raise TestSkipped, "$TERM=%r, calling initscr() may cause exit" % term
|
||||||
|
|
||||||
|
if sys.platform == "cygwin":
|
||||||
|
raise TestSkipped("cygwin's curses mostly just hangs")
|
||||||
|
|
||||||
def window_funcs(stdscr):
|
def window_funcs(stdscr):
|
||||||
"Test the methods of windows"
|
"Test the methods of windows"
|
||||||
win = curses.newwin(10,10)
|
win = curses.newwin(10,10)
|
||||||
|
|
Loading…
Reference in New Issue