Skip to content

Commit 23f164f

Browse files
ligurioTotktonada
authored andcommitted
test: make print calls compatible with Python 3.x
In a Python 3 'print' becomes a function, see [1]. Patch makes print calls compatible with Python 3. 1. https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function
1 parent a95b2fa commit 23f164f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cluster-py/multi.test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
def check_connection(con):
1919
try:
2020
s = con.space('test')
21-
print s.select()
21+
print(s.select())
2222
except NetworkError:
23-
print 'NetworkError !'
23+
print('NetworkError !')
2424
except Exception as e:
25-
print e
25+
print(e)
2626

2727

2828
# Start instances

0 commit comments

Comments
 (0)