Author ezio.melotti
Recipients docs@python, eric.araujo, ezio.melotti, michael.foord, ncoghlan, notizblock, orsenthil, rhettinger, serhiy.storchaka
Date 2012-12-24.09:02:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Given that this is a basic example, it's not necessary to introduce both the forms of assertRaises.
I personally find the context manager form more readable, and I prefer it to the regular one even if it takes two lines instead of one.
Date User Action Args
2012-12-24 09:02:52ezio.melottisetrecipients: + ezio.melotti, rhettinger, ncoghlan, orsenthil, eric.araujo, michael.foord, docs@python, notizblock, serhiy.storchaka
2012-12-24 09:02:52ezio.melottisetmessageid: <>
2012-12-24 09:02:52ezio.melottilinkissue11468 messages
2012-12-24 09:02:52ezio.melotticreate