Benjamin Peterson <benja...@python.org> added the comment: You're not getting this?
.FFE ====================================================================== ERROR: test_intfail4 (__main__.TestInt) ---------------------------------------------------------------------- Traceback (most recent call last): File "x.py", line 22, in test_intfail4 int('ABC') ValueError: invalid literal for int() with base 10: 'ABC' ====================================================================== FAIL: test_intfail2 (__main__.TestInt) ---------------------------------------------------------------------- ValueError: invalid literal for int() with base 10: 'ABC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "x.py", line 12, in test_intfail2 int('ABC') AssertionError: "lambda" does not match "invalid literal for int() with base 10: 'ABC'" : Foo! ====================================================================== FAIL: test_intfail3 (__main__.TestInt) ---------------------------------------------------------------------- Traceback (most recent call last): File "x.py", line 17, in test_intfail3 int(1) AssertionError: ValueError not raised : Foo! ---------------------------------------------------------------------- Ran 4 tests in 0.001s FAILED (failures=2, errors=1) ---------- nosy: +benjamin.peterson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12527> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com