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 davin
Recipients davin, jnoller, sbt, serhiy.storchaka
Date 2015-04-08.20:39:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428525576.03.0.758506059393.issue23713@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy: If I understand correctly what you suggest, calling sorted(it) or list(it) would run the iterator all the way until it raises the SayWhenError exception, triggering the self.assertRaises before it ever actually gets to call the self.assertEqual or self.assertCountEqual you suggest.  It would indeed test the raising of the exception but would never test individual values returned by the iterator to see that they belong.

Or were you suggesting something different?
History
Date User Action Args
2015-04-08 20:39:36davinsetrecipients: + davin, jnoller, sbt, serhiy.storchaka
2015-04-08 20:39:36davinsetmessageid: <1428525576.03.0.758506059393.issue23713@psf.upfronthosting.co.za>
2015-04-08 20:39:36davinlinkissue23713 messages
2015-04-08 20:39:35davincreate