[TIP] unit2 fails when code in testing calls sys.exit()

Jorge Vargas jorge.vargas at gmail.com
Wed Aug 11 13:21:38 PDT 2010


Hello,

I think I have discovered a bug if the code you are testing calls
sys.exit() mainly because it discovered an unrecoverable error,
currently the unit2 --discover (for non-tip users) fails and just
exits. I have reported this at
http://code.google.com/p/unittest-ext/issues/detail?id=28 and proposed
a solution.



More information about the testing-in-python mailing list