[Patches] [ python-Patches-1005123 ] test_curses fails on MacOS X
10.3
SourceForge.net
noreply at sourceforge.net
Sat Aug 7 15:58:23 CEST 2004
Patches item #1005123, was opened at 2004-08-07 15:40
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1005123&group_id=5470
Category: Tests
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ronald Oussoren (ronaldoussoren)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_curses fails on MacOS X 10.3
Initial Comment:
test_curses fails on MacOS X 10.3.
I'm seeing two failures:
The call to curses.curs_set at line 143 (in module_funcs) fails (that
is raises curses.error), which the test doesn't expect.
The test for curses.use_default_colors() (also in module_funcs)
also fails. curses.has_colors() is False, which probably explains
why use_default_colors fails.
The attached patch adds a try block around the call to
curses.curs_set and reindents the test for
curses.use_default_colors().
WARNING: I've never used curses.
----------------------------------------------------------------------
>Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2004-08-07 15:58
Message:
Logged In: YES
user_id=580910
I've guarded the call to curs_set by tigetstr("cnorm"), based on a
suggestion by mwh.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1005123&group_id=5470
More information about the Patches
mailing list