summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8433: Fix test_curses failure caused by newer versions ofMark Dickinson2010-08-131-1/+1
| | | | | ncurses returning ERR from getmouse() when there are no mouse events available.
* Issue #7384: If the system readline library is linked againstStefan Krah2010-06-161-6/+0
| | | | ncurses, do not link the readline module against ncursesw.
* Fix an oversight in merge r78282.Florent Xicluna2010-03-301-1/+2
|
* Merged revisions 75066 via svnmerge fromAndrew M. Kuchling2010-02-221-0/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75066 | andrew.kuchling | 2009-09-25 18:23:54 -0400 (Fri, 25 Sep 2009) | 4 lines #6243: fix segfault when keyname() returns a NULL pointer. Bug noted by Trundle, patched by Trundle and Jerry Chen. ........
* Merged revisions 78281 via svnmerge fromMark Dickinson2010-02-211-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete. ........
* Fix backport of test_curses test skip.R. David Murray2009-11-031-1/+1
|
* It turns out test_curses can fail in a 2.6 buildbot because stdout is notR. David Murray2009-11-031-0/+2
| | | | | | | | | | | | | | a tty in certain cases. Merged revisions 75518 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines Only run test_curses when sys.__stdout__ is a tty. This eliminates the last false positive when running regrtest with -j. ........
* Move .setupterm() output so that we don't try to call endwin() if it failsAndrew M. Kuchling2008-02-251-4/+3
|
* Add window.chgat() method, submitted via e-mail by Fabian KreutzAndrew M. Kuchling2007-04-111-0/+6
|
* Whitespace normalization.Tim Peters2007-03-121-1/+1
|
* Patch for bug #1633621: if curses.resizeterm() orWalter Dörwald2007-03-061-0/+9
| | | | | curses.resize_term() is called, update _curses.LINES, _curses.COLS, curses.LINES and curses.COLS.
* Patch #1506645: add Python wrappers for the curses functionsWalter Dörwald2006-06-191-0/+7
| | | | | is_term_resized, resize_term and resizeterm. This uses three separate configure checks (one for each function).
* In some environments (under screen, in a chroot) curses doesn't supportAnthony Baxter2006-04-061-5/+7
| | | | | | | | 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.
* cygwin's curses support isn't up to scratch to run the tests.Anthony Baxter2006-04-041-0/+3
|
* Test curses.setupterm() before initscr().Georg Brandl2006-01-121-2/+3
|
* SF bug #1400822, Extended version of _curses over{lay,write} does not workNeal Norwitz2006-01-101-1/+7
| | | | | | Fix signatures to conform to doc (also fixed ungetmouse()). Will backport.
* Bug #1400115, Fix segfault when calling curses.panel.userptr()Neal Norwitz2006-01-091-0/+11
| | | | | | without prior setting of the userptr. Will backport.
* initscr() will exit if there's an error. Try to catch the obvious failureNeal Norwitz2006-01-061-4/+7
| | | | | | | | | | | | | 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.
* Skip test_curses if stdin is not a tty (like when run from cron or ↵Neal Norwitz2006-01-051-1/+3
| | | | buildbot). Will backport.
* [Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suiteAndrew M. Kuchling2005-06-151-1/+2
|
* This is more-or-less:Michael W. Hudson2004-08-071-3/+4
| | | | | | | [ 1005123 ] test_curses fails on MacOS X 10.3 Be a bit more guarded about what we expect a terminal to be capable of.
* Whitespace normalization.Tim Peters2004-01-181-2/+2
|
* Add tests for meta- bit setAndrew M. Kuchling2003-08-291-1/+4
|
* Add simple unit test for ascii.unctrl() functionAndrew M. Kuchling2003-08-291-0/+13
|
* [Patch #739124] Add use_default_colors() to curses moduleAndrew M. Kuchling2003-08-131-0/+3
|
* SF patch #701494: more apply removalsRaymond Hettinger2003-04-061-1/+1
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | 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. :)
* Patch #473187: Add a test script that exercises most of the functions inAndrew M. Kuchling2001-10-221-0/+210
the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest