summaryrefslogtreecommitdiff
path: root/tests/websockets_chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/websockets_chat.py')
-rw-r--r--tests/websockets_chat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/websockets_chat.py b/tests/websockets_chat.py
index d6f5d70d..c8bd2073 100644
--- a/tests/websockets_chat.py
+++ b/tests/websockets_chat.py
@@ -54,7 +54,7 @@ def application(env, sr):
return ""
elif env['PATH_INFO'] == '/foobar/':
uwsgi.websocket_handshake(env['HTTP_SEC_WEBSOCKET_KEY'], env.get('HTTP_ORIGIN', ''))
- print "websockets..."
+ print("websockets...")
r = redis.StrictRedis(host='localhost', port=6379, db=0)
channel = r.pubsub()
channel.subscribe('foobar')