Skip to content

Commit 13c3a87

Browse files
authored
Merge pull request #546 from debmc/sockets
OpTestSystem: python3 encode sock.send
2 parents 6e047e0 + c579275 commit 13c3a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/OpTestSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ def get_my_ip_from_host_perspective(self):
12681268
log.debug("socket.error raise Exception={}".format(e))
12691269
raise e
12701270
try:
1271-
sock.send('Hello World!')
1271+
sock.send('Hello World!'.encode())
12721272
log.debug("sock send Hello World")
12731273
sock.close()
12741274
log.debug("sock close")

0 commit comments

Comments
 (0)