test-concurrency: Replace range with xrange
authorSimon McVittie <smcv@debian.org>
Wed, 17 Jan 2018 14:42:20 +0000 (14:42 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 17 Jan 2018 15:34:46 +0000 (15:34 +0000)
commit519ed38ecb16d8a0c1538e082ca9a7ab14fbe97e
tree56f6d05877c2d680411b9e3b2b421600c19bcf43
parentb2bbb5f5a3e517ca1dc88b8ad80e65a6a00be5ed
test-concurrency: Replace range with xrange

range in Python 3 does what xrange did in Python 2. This still works in
Python 2, it just uses a bit more memory.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name test-concurrency-Replace-range-with-xrange.patch
tests/test-concurrency.py