tests/test-pathencode.py
changeset 34231 0f200e2310ca
parent 28928 59481bfdb7f3
child 34232 d43340bec0f5
--- a/tests/test-pathencode.py	Sat Sep 16 11:33:16 2017 -0400
+++ b/tests/test-pathencode.py	Sat Sep 16 11:47:53 2017 -0400
@@ -19,6 +19,11 @@
     store,
 )
 
+try:
+    xrange
+except NameError:
+    xrange = range
+
 validchars = set(map(chr, range(0, 256)))
 alphanum = range(ord('A'), ord('Z'))