Mercurial > evolve
comparison tests/test-tutorial.t @ 4754:75307f276a79
py3: make random topic name generation consistent across py2/py3
random.choice() (and others based on random.randint()) changed between
py2 and py3 without a way to get the py2 behavior. However,
random.random() did not change, so we can re-implement random.choice()
based on that.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 17 Jul 2019 11:45:37 -0700 |
parents | b6a7d2594ff3 |
children | 5d50f3de4714 5113b38cb677 |
comparison
equal
deleted
inserted
replaced
4753:87d3955467b4 | 4754:75307f276a79 |
---|