[issue30308] Add code coverage for argument in random.shuffle
Cheryl Sabella
report at bugs.python.org
Tue May 9 19:08:01 EDT 2017
Cheryl Sabella added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30308>
_______________________________________
More information about the Python-bugs-list
mailing list