summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Socol <me@jamessocol.com>2013-03-06 18:56:24 -0500
committerJames Socol <me@jamessocol.com>2013-03-06 18:56:24 -0500
commit5a38d72d9f2b6c94d19cc6fcd4ed30e51553cd8e (patch)
tree9990d2be04e1eff2a3e95ea65cc0195be7fb7960
parent7ed4f77ff9915a9c1957a2a45e6d02c2dc644a85 (diff)
downloadpystatsd-5a38d72d9f2b6c94d19cc6fcd4ed30e51553cd8e.tar.gz
s/xrange/range/ for Py3k
-rw-r--r--statsd/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/statsd/tests.py b/statsd/tests.py
index 4e9cd3d..59e8f24 100644
--- a/statsd/tests.py
+++ b/statsd/tests.py
@@ -320,7 +320,7 @@ def test_pipeline_packet_size():
"""Pipelines shouldn't send packets larger than 512 bytes."""
sc = _client()
pipe = sc.pipeline()
- for x in xrange(32):
+ for x in range(32):
# 32 * 16 = 512, so this will need 2 packets.
pipe.incr('sixteen_char_str')
pipe.send()