aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_sendmessage.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-05-10 15:50:16 -0500
committerTrygve Aaberge <trygveaa@gmail.com>2019-04-08 15:11:57 +0200
commit60a842e141fd0710873f018e0908764f08132a77 (patch)
tree05457e7f7507e615bf6b50ff6c53894c3bc1b2d5 /_pytest/test_sendmessage.py
parent3639342e26f7e890ae600e74c7661ad84abb5700 (diff)
downloadwee-slack-60a842e141fd0710873f018e0908764f08132a77.tar.gz
Always use the print function from Python 3
Comments are updated as well as live code.
Diffstat (limited to '_pytest/test_sendmessage.py')
-rw-r--r--_pytest/test_sendmessage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/_pytest/test_sendmessage.py b/_pytest/test_sendmessage.py
index 42c22a6..fe11f46 100644
--- a/_pytest/test_sendmessage.py
+++ b/_pytest/test_sendmessage.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
def test_send_message(realish_eventrouter, mock_websocket):
e = realish_eventrouter
@@ -6,7 +7,7 @@ def test_send_message(realish_eventrouter, mock_websocket):
#u = e.teams[t].users.keys()[0]
#user = e.teams[t].users[u]
- #print user
+ #print(user)
socket = mock_websocket
e.teams[t].ws = socket
@@ -16,6 +17,6 @@ def test_send_message(realish_eventrouter, mock_websocket):
channel = e.teams[t].channels[c]
channel.send_message('asdf')
- print c
+ print(c)
#assert False