summaryrefslogtreecommitdiff
path: root/tests/hub_test.py
diff options
context:
space:
mode:
authorSergey Shepelev <temotor@gmail.com>2014-04-23 13:27:49 +0400
committerSergey Shepelev <temotor@gmail.com>2014-04-23 15:15:22 +0400
commit1b9f0f0edb285be01bc570b1f64ee2aa2cba49db (patch)
tree90dff04380efcae8250730f9832c4ab2c786f338 /tests/hub_test.py
parent92d12567b20dbe159a1a8a8db4d2cd05d15e6588 (diff)
downloadeventlet-1b9f0f0edb285be01bc570b1f64ee2aa2cba49db.tar.gz
python3 compatibility: print function
Diffstat (limited to 'tests/hub_test.py')
-rw-r--r--tests/hub_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hub_test.py b/tests/hub_test.py
index c644f08..a633484 100644
--- a/tests/hub_test.py
+++ b/tests/hub_test.py
@@ -267,7 +267,7 @@ eventlet.Timeout(0.5)
try:
eventlet.listen(("127.0.0.1", 0)).accept()
except eventlet.Timeout:
- print "exited correctly"
+ print("exited correctly")
""")
fd.close()
python_path = os.pathsep.join(sys.path + [self.tempdir])
@@ -314,13 +314,13 @@ if not pid:
try:
new_sock, address = server.accept()
except eventlet.Timeout as t:
- print "accept blocked"
+ print("accept blocked")
else:
kpid, status = os.wait()
assert kpid == pid
assert status == 0
- print "child died ok"
+ print("child died ok")
"""
self.write_to_tempfile("newmod", new_mod)
output, lines = self.launch_subprocess('newmod.py')