--- a/tests/seq.py Wed Nov 29 08:40:58 2017 +0530 +++ b/tests/seq.py Wed Nov 29 08:46:37 2017 +0530 @@ -10,6 +10,9 @@ from __future__ import absolute_import, print_function import sys +if sys.version_info[0] >= 3: + xrange = range + start = 1 if len(sys.argv) > 2: start = int(sys.argv[1])