Florent Xicluna <la...@yahoo.fr> added the comment:

The behaviour is weird.
Use attached patch to reproduce this behaviour.

 ~ $ ./python -m test.regrtest -uall test_curses test_datetime
test_curses
test_curses skipped -- No module named _NO_curses
test_datetime
1 test OK.
1 test skipped:
    test_curses
Those skips are all expected on linux2.

 ~ $ ./python -m test.regrtest -uall test_capi
test_capi
test test_capi crashed -- <class 'ImportError'>: No module named _NO_curses
1 test failed:
    test_capi

 ~ $ ./python -m test.regrtest -uall test_datetime test_capi
test_datetime
test_capi
All 2 tests OK.

 ~ $ ./python -m test.regrtest -uall test_curses test_capi
test_curses
test_curses skipped -- No module named _NO_curses
test_capi
XXX undetected error
test test_capi crashed -- <class 'ImportError'>: No module named datetime
1 test failed:
    test_capi
1 test skipped:
    test_curses
Those skips are all expected on linux2.

Now, we need to identify the culprit: Modules/_testcapimodule.c or 
Objects/capsule.c ...

----------
keywords: +patch
nosy: +larry
Added file: http://bugs.python.org/file16222/issue7924_test_case.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to