Use six.xrange in tests.
Merge pull request #357 from fantix/xrange

Use six.xrange in tests.