ci: all jobs use python3 by default

This commit is contained in:
Chen Yu Dong
2020-11-11 11:31:17 +08:00
committed by bot
parent 2558830339
commit 454edcc0a8
17 changed files with 36 additions and 41 deletions

View File

@@ -31,7 +31,7 @@ def udp_client(address, payload):
print('Could not create socket: ' + str(msg[0]) + ': ' + msg[1])
raise
try:
sock.sendto(payload, addr)
sock.sendto(payload.encode(), addr)
reply, addr = sock.recvfrom(128)
if not reply:
return
@@ -40,7 +40,7 @@ def udp_client(address, payload):
print('Error Code : ' + str(msg[0]) + ' Message: ' + msg[1])
sock.close()
raise
return reply
return reply.decode()
@ttfw_idf.idf_example_test(env_tag="Example_WIFI")