summaryrefslogtreecommitdiff
path: root/tests/websocket_test.py
diff options
context:
space:
mode:
authorVictor Sergeyev <vsergeyev@mirantis.com>2013-11-25 18:21:40 +0200
committerSergey Shepelev <temotor@gmail.com>2014-03-28 10:58:14 +0400
commit2b2f0a96b44779c5b98c851c55d70ec5e46e41f9 (patch)
tree3f8c8cfca3d6899e4355a80668b605adb4abc5e4 /tests/websocket_test.py
parentcfdd9a922cffc2478a52e4b5b9a4dead5fe580c4 (diff)
downloadeventlet-2b2f0a96b44779c5b98c851c55d70ec5e46e41f9.tar.gz
python3 compat fixes
https://github.com/eventlet/eventlet/pull/59
Diffstat (limited to 'tests/websocket_test.py')
-rw-r--r--tests/websocket_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/websocket_test.py b/tests/websocket_test.py
index 6bc3347..571f4c3 100644
--- a/tests/websocket_test.py
+++ b/tests/websocket_test.py
@@ -23,7 +23,7 @@ def handle(ws):
break
ws.send(m)
elif ws.path == '/range':
- for i in xrange(10):
+ for i in range(10):
ws.send("msg %d" % i)
eventlet.sleep(0.01)
elif ws.path == '/error':