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 mark.dickinson
Recipients cheryl.sabella, mark.dickinson, rhettinger, vstinner
Date 2017-05-09.07:58:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494316698.09.0.901980077973.issue30308@psf.upfronthosting.co.za>
In-reply-to
Content
I'm also a bit uncomfortable with adding tests for other specific exceptions when a misbehaving `random` is passed: again, the details of whether an exception is raised or not for "self.assertRaises(IndexError, shuffle, seq, random=lambda: -1.1)", and which precise class of exception is raised, seem like something that could be left as implementation-defined. I'm not sure I see much value in pinning down the precise behaviour in this case (which is effectively what a testcase does).
History
Date User Action Args
2017-05-09 07:58:18mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, vstinner, cheryl.sabella
2017-05-09 07:58:18mark.dickinsonsetmessageid: <1494316698.09.0.901980077973.issue30308@psf.upfronthosting.co.za>
2017-05-09 07:58:18mark.dickinsonlinkissue30308 messages
2017-05-09 07:58:17mark.dickinsoncreate