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 cheryl.sabella
Recipients cheryl.sabella, mark.dickinson, rhettinger, vstinner
Date 2017-05-09.23:08:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494371281.08.0.0410293022694.issue30308@psf.upfronthosting.co.za>
In-reply-to
Content
I've also changed the test to use Mock for the random function.  I'm new to mock, so I'm not sure if I did it right.  Using a return_value seemed to be the best way to go.  I didn't know if it was necessary to test if an incorrect function was sent in.
History
Date User Action Args
2017-05-09 23:08:01cheryl.sabellasetrecipients: + cheryl.sabella, rhettinger, mark.dickinson, vstinner
2017-05-09 23:08:01cheryl.sabellasetmessageid: <1494371281.08.0.0410293022694.issue30308@psf.upfronthosting.co.za>
2017-05-09 23:08:01cheryl.sabellalinkissue30308 messages
2017-05-09 23:08:01cheryl.sabellacreate