This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_curses fails on os x 10.6
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, chuck, ned.deily
Priority: normal Keywords:

Created on 2009-10-02 20:29 by chuck, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg93453 - (view) Author: Jan (chuck) * Date: 2009-10-02 20:29
test_curses
test test_curses crashed -- <class '_curses.error'>: endwin() returned 
ERR
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/test/re
grtest.py", line 549, in runtest_inner
    the_package = __import__(abstest, globals(), locals(), [])
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/test/te
st_curses.py", line 279, in <module>
    curses.endwin()
error: endwin() returned ERR
1 test failed:
    test_curses
msg93461 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-10-02 23:57
Running the test standalone works for me running under Terminal.app:

$ echo $TERM
xterm-color
$ cd /Library/Frameworks/Python.framework/Versions/2.6
$ bin/python2.6 lib/python2.6/test/regrtest.py -u curses test_curses
test_curses
1 test OK.

It's probably failing because of your terminal type or some other 
environment issue.  How are you running it?
msg93580 - (view) Author: Jan (chuck) * Date: 2009-10-05 07:33
I am not able to reproduce my own report :)

I'm sure I installed the 2.6.3 release, opened Terminal.app, checked 
`which python` and ran `python -m test.regrtest -uall`. I remember that I 
saw a crash report when I came back and some failed tests, so I ran the 
tests again (in a different tab) in verbose mode to post reports. (Maybe 
that makes sense to you.)

However, if I repeat what I did, the test does not fail anymore. So maybe 
just close it? :)
msg99757 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2010-02-22 15:55
Closing this bug is fine with me.
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51287
2010-02-22 15:55:19akuchlingsetstatus: open -> closed

nosy: + akuchling
messages: + msg99757

resolution: works for me
2009-10-05 07:33:38chucksetmessages: + msg93580
2009-10-02 23:57:50ned.deilysetnosy: + ned.deily
messages: + msg93461
2009-10-02 20:29:43chuckcreate