--- 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'))