Mercurial > evolve
diff tests/test-evolve-serveronly-legacy.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 | 79a926b557f1 |
children | e1a230cc4527 e5d91fd1f319 |