diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2015-02-18 22:00:01 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2015-02-18 22:00:01 +0100 |
commit | 97a88905b7f0f513bd480fe630e43798aba22c74 (patch) | |
tree | 5b5bb8307e4b69a2826e5988ecede340a8d9b88b /tests/cyclic | |
parent | d95bc982cd8480aa44e5282ab1284a9278049066 (diff) | |
download | factory-boy-97a88905b7f0f513bd480fe630e43798aba22c74.tar factory-boy-97a88905b7f0f513bd480fe630e43798aba22c74.tar.gz |
Enable resetting factory.fuzzy's random generator (Closes #175, #185).
Users may now call ``factory.fuzzy.get_random_state()`` to retrieve
the current random generator's state (isolated from the one used in
Python's ``random``).
That state can then be reinjected with
``factory.fuzzy.set_random_state(state)``.
Diffstat (limited to 'tests/cyclic')
0 files changed, 0 insertions, 0 deletions