This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients Brian.Jones, benjamin.peterson
Date 2011-07-10.17:29:01
SpamBayes Score 1.7603224e-07
Marked as misclassified No
Message-id <1310318942.81.0.434394525989.issue12527@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-07-10 17:29:02benjamin.petersonsetrecipients: + benjamin.peterson, Brian.Jones
2011-07-10 17:29:02benjamin.petersonsetmessageid: <1310318942.81.0.434394525989.issue12527@psf.upfronthosting.co.za>
2011-07-10 17:29:02benjamin.petersonlinkissue12527 messages
2011-07-10 17:29:01benjamin.petersoncreate