New submission from STINNER Victor <victor.stin...@haypocalc.com>:

unittest in Python 2.6 has to SkipTest exception, but test_support has a 
TestSkipped which can be used to skip the whole file.

TestSkipped should not be used in a test function. Following tests have to be 
fixed: test_decimal, test_ioctl, test_largefile, test_nis, test_ossaudiodev, 
test_pty. Replace raise by return. To dislpay, print >>sys.stderr can be used.

----------
components: Tests
messages: 103609
nosy: haypo
severity: normal
status: open
title: raise test_support.TestSkipped() is used outside main() / test_main()
versions: Python 2.6

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

Reply via email to