summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_curses.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7384: If the system readline library is linked against ncurses,Stefan Krah2010-06-031-5/+0
| | | | | | | | the curses module must be linked against ncurses as well. Otherwise it is not safe to load both the readline and curses modules in an application. Thanks Thomas Dickey for answering questions about ncurses/ncursesw and readline!
* Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot ↵Mark Dickinson2010-02-211-0/+6
| | | | tests to complete.
* Only run test_curses when sys.__stdout__ is a tty. This eliminates theR. David Murray2009-10-191-0/+2
| | | | last false positive when running regrtest with -j.
* #6243: fix segfault when keyname() returns a NULL pointer.Andrew M. Kuchling2009-09-251-0/+5
| | | | Bug noted by Trundle, patched by Trundle and Jerry Chen.
* Missing import in test_curses, uncovered by some buildbots.Amaury Forgeot d'Arc2009-06-091-0/+1
| | | | (There are still a few test files that don't use the standard layout)
* Change more tests to use import_module for the modules thatR. David Murray2009-03-301-3/+4
| | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring.
* fix incorrect auto-translation of TestSkipped -> unittest.SkipTestBenjamin Peterson2009-03-261-3/+3
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-3/+3
|
* 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