Mercurial > evolve
comparison tests/test-evolve-content-divergent-stack.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 | 61c2518cd6d2 |
children | 653c42af172e f3fd3c1c3da0 |
comparison
equal
deleted
inserted
replaced
4753:87d3955467b4 | 4754:75307f276a79 |
---|