tests/test-ui-verbosity.py
changeset 49285 56f98406831b
parent 48875 6000f5b25c9b
child 52638 dc36535a5edc
--- a/tests/test-ui-verbosity.py	Sun May 29 15:17:27 2022 +0200
+++ b/tests/test-ui-verbosity.py	Sun May 29 15:32:43 2022 +0200
@@ -4,9 +4,6 @@
     ui as uimod,
 )
 
-if pycompat.ispy3:
-    xrange = range
-
 hgrc = os.environ['HGRCPATH']
 f = open(hgrc)
 basehgrc = f.read()
@@ -15,7 +12,7 @@
 print('      hgrc settings    command line options      final result   ')
 print('    quiet verbo debug   quiet verbo debug      quiet verbo debug')
 
-for i in xrange(64):
+for i in range(64):
     hgrc_quiet = bool(i & 1 << 0)
     hgrc_verbose = bool(i & 1 << 1)
     hgrc_debug = bool(i & 1 << 2)