Message180235
| Author |
chris.jerdonek |
| Recipients |
Julian, Yaroslav.Halchenko, abingham, bfroehle, borja.ruiz, brian.curtin, chris.jerdonek, eric.araujo, eric.snow, exarkun, ezio.melotti, fperez, hpk, kynan, michael.foord, nchauvat, ncoghlan, pitrou, r.david.murray, santoso.wijaya, serhiy.storchaka, spiv |
| Date |
2013年01月19日.07:31:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAOTb1wfvdGqsMxcJ64EHf6MTcwtcAhJ58e6T1RXPxNbMvz-cMA@mail.gmail.com> |
| In-reply-to |
<1358556573.3462.7.camel@localhost.localdomain> |
| Content |
Either way, something isn't right about how it's integrated now. With
the patch, this:
@unittest.expectedFailure
def test(self):
with self.subTest():
self.assertEqual(0, 1)
gives: FAILED (failures=1, unexpected successes=1)
And this:
@unittest.expectedFailure
def test(self):
with self.subTest():
self.assertEqual(0, 0)
gives: OK (unexpected successes=1)
But without the patch, this:
@unittest.expectedFailure
def test(self):
self.assertEqual(0, 1)
gives: OK (expected failures=1) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年01月19日 07:31:32 | chris.jerdonek | set | recipients:
+ chris.jerdonek, spiv, exarkun, ncoghlan, pitrou, ezio.melotti, eric.araujo, r.david.murray, michael.foord, brian.curtin, hpk, fperez, Yaroslav.Halchenko, santoso.wijaya, nchauvat, kynan, Julian, abingham, eric.snow, serhiy.storchaka, borja.ruiz, bfroehle |
| 2013年01月19日 07:31:32 | chris.jerdonek | link | issue16997 messages |
| 2013年01月19日 07:31:31 | chris.jerdonek | create |
|