diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2003-08-13 23:11:04 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2003-08-13 23:11:04 (GMT) |
commit | 69f31eb80c86f74cf35ae313870f87b6611293fa (patch) | |
tree | 16babeca0ce1b9f6d59c37ac730d0dd17b5defb8 /Lib/test/test_curses.py | |
parent | a54b92b2ebcbaaa4b7f77ff411a73a820522a67b (diff) | |
download | cpython-69f31eb80c86f74cf35ae313870f87b6611293fa.zip cpython-69f31eb80c86f74cf35ae313870f87b6611293fa.tar.gz cpython-69f31eb80c86f74cf35ae313870f87b6611293fa.tar.bz2 |
[Patch #739124] Add use_default_colors() to curses module
Diffstat (limited to 'Lib/test/test_curses.py')
-rw-r--r-- | Lib/test/test_curses.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index 188da8d..f62783f 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -181,6 +181,9 @@ def module_funcs(stdscr): curses.pair_content(curses.COLOR_PAIRS) curses.pair_number(0) + if hasattr(curses, 'use_default_colors'): + curses.use_default_colors() + if hasattr(curses, 'keyname'): curses.keyname(13) |