Raymond Hettinger added the comment:

* Why not use unittest.mock to test the *random* argument for shuffle?

* Try to avoid direct calls to _randbelow().  That method is a non-public 
implementation detail subject to change.

* Also please don't make test_random.py depend on secrets which itself depends 
on random.py.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to