changeset 36294 | 2507bf180413 |
parent 30559 | d83ca854fa21 |
child 37927 | 76d0a343c305 |
--- a/tests/test-ui-verbosity.py Sun Feb 18 18:20:57 2018 +0530 +++ b/tests/test-ui-verbosity.py Sun Feb 18 18:22:15 2018 +0530 @@ -2,9 +2,13 @@ import os from mercurial import ( + pycompat, ui as uimod, ) +if pycompat.ispy3: + xrange = range + hgrc = os.environ['HGRCPATH'] f = open(hgrc) basehgrc = f.read()