On 13 Nov., 20:20, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
> try:
>     unittest.main()
> except SystemExit:
>     pass

You most probably want this instead:

    try:
        unittest.main()
    except SystemExit, exc:
        # only exit if tests failed
        if exc.code:
            raise
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to