Mark Fitzgerald <mark.fitzgera...@sympatico.ca> added the comment:

Agreed that this is clearly not a bug.  One way to get the desired
behavior from IDLE is to move up to Python 2.7a0+ or Python 3.1.1+,
where the 'exit' parameter of unittest.main(), which when set to False,
disables the sys.exit() call.

Alternatively, in 2.5, just create your own TextTestRunner, as described
in the 2.5.2 docs:

suite = unittest.TestLoader().loadTestsFromTestCase(TestSequenceFunctions)
unittest.TextTestRunner(verbosity=2).run(suite)

----------
nosy: +mfitz

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

Reply via email to