Fix Python 3 compatibility issues

* Original commit: espressif/esp-idf@9daf51e6be
This commit is contained in:
Roland Dobai
2018-10-10 13:19:31 +02:00
committed by gabsuren
parent 86d107635b
commit a96c890f97
4 changed files with 11 additions and 10 deletions

View File

@ -27,7 +27,7 @@ def test_examples_protocol_asio_chat_server(env, extra_data):
3. Test connects to server and sends a test message
4. Test evaluates received test message from server
"""
test_msg=" 4ABC\n"
test_msg=b" 4ABC\n"
dut1 = env.get_dut("chat_server", "examples/protocols/asio/chat_server")
# check and log bin size
binary_file = os.path.join(dut1.app.binary_path, "asio_chat_server.bin")