Andrew M. Kuchling
400a49ba79
Add window.chgat() method, submitted via e-mail by Fabian Kreutz
2007-04-11 13:39:00 +00:00
Tim Peters
ea5962f86e
Whitespace normalization.
2007-03-12 18:07:52 +00:00
Walter Dörwald
d391f0855c
Patch for bug #1633621 : if curses.resizeterm() or
...
curses.resize_term() is called, update _curses.LINES,
_curses.COLS, curses.LINES and curses.COLS.
2007-03-06 20:38:57 +00:00
Walter Dörwald
4994d9546c
Patch #1506645 : add Python wrappers for the curses functions
...
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).
2006-06-19 08:07:50 +00:00
Anthony Baxter
e94e3b440f
In some environments (under screen, in a chroot) curses doesn't support
...
mouse events. This makes the test fail. Catch that case and don't run
the tests. Should make the debian/ubuntu buildbots that run in a chroot
work again.
Will backport to release24-maint.
2006-04-06 07:12:39 +00:00
Anthony Baxter
768018592c
cygwin's curses support isn't up to scratch to run the tests.
2006-04-04 13:32:08 +00:00
Georg Brandl
05f5ba9636
Test curses.setupterm() before initscr().
2006-01-12 15:41:05 +00:00
Neal Norwitz
88bbd73d07
SF bug #1400822 , Extended version of _curses over{lay,write} does not work
...
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
2006-01-10 07:05:44 +00:00
Neal Norwitz
5e3d862392
Bug #1400115 , Fix segfault when calling curses.panel.userptr()
...
without prior setting of the userptr.
Will backport.
2006-01-09 06:24:35 +00:00
Neal Norwitz
9f39f68533
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.
2006-01-06 04:18:21 +00:00
Neal Norwitz
eeab7da591
Skip test_curses if stdin is not a tty (like when run from cron or buildbot). Will backport.
2006-01-05 06:09:13 +00:00
Andrew M. Kuchling
d1badac99c
[Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
2005-06-15 18:44:23 +00:00
Michael W. Hudson
2b3feec58f
This is more-or-less:
...
[ 1005123 ] test_curses fails on MacOS X 10.3
Be a bit more guarded about what we expect a terminal to be capable
of.
2004-08-07 15:27:16 +00:00
Tim Peters
58eb11cf62
Whitespace normalization.
2004-01-18 20:29:55 +00:00
Andrew M. Kuchling
e8792c1f65
Add tests for meta- bit set
2003-08-29 18:49:05 +00:00
Andrew M. Kuchling
e752e20605
Add simple unit test for ascii.unctrl() function
2003-08-29 18:37:37 +00:00
Andrew M. Kuchling
69f31eb80c
[Patch #739124 ] Add use_default_colors() to curses module
2003-08-13 23:11:04 +00:00
Raymond Hettinger
ff41c48a77
SF patch #701494 : more apply removals
2003-04-06 09:01:11 +00:00
Barry Warsaw
04f357cffe
Get rid of relative imports in all unittests. Now anything that
...
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
2002-07-23 19:04:11 +00:00
Andrew M. Kuchling
2158df0b4d
Patch #473187 : Add a test script that exercises most of the functions in
...
the curses module. It's not run automatically; '-u curses' must be
specified as an argument to regrtest
2001-10-22 15:26:09 +00:00