Mercurial > hg
comparison mercurial/cext/dirs.c @ 43074:9cc55b743713
tests: conditionalize output for Python 3
It appears that the random.randint() behavior is different between Python 2
and Python 3. So make the test conditional on that.
This makes the test pass on Python 3.7 (and presumably other Python 3 versions).
Differential Revision: https://phab.mercurial-scm.org/D6964
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 04 Oct 2019 15:53:45 -0400 |
parents | d8e55c0c642c |
children | 2a0774e9d2a8 |
comparison
equal
deleted
inserted
replaced
43073:5c9c71cde1c9 | 43074:9cc55b743713 |
---|