@@ -415,7 +415,7 @@ def program(request, backend):
415415 compilation_return_code = subprocess .run (
416416 ["arduino-cli" , "compile" , f"{ sketch_path } " , "-b" , f"{ BOARD_CONFIG } " , "--output-dir" , f"{ build_directory } " ], shell = True ).returncode
417417
418- assert compilation_return_code == 0 , "{example_name} failed to compile"
418+ assert compilation_return_code == 0 , f "{ example_name } failed to compile"
419419
420420 hex_file = build_directory / f"{ os .path .basename (sketch_path )} .hex"
421421
@@ -427,7 +427,7 @@ def program(request, backend):
427427 backend .write_memory (segment .data , memory_name , segment .offset )
428428 verify_ok = backend .verify_memory (segment .data , memory_name , segment .offset )
429429
430- assert verify_ok , "Verification of memory failed"
430+ assert verify_ok , "Verification of program memory failed"
431431
432432
433433def run_example (request , backend , example_test_data ):
@@ -540,6 +540,5 @@ def test_power_print_voltage(request, backend, session_config, example_test_data
540540def test_power_save (request , backend , session_config , example_test_data ):
541541 run_test (request , backend , session_config , example_test_data )
542542
543-
544543def test_sandbox (request , backend , session_config , example_test_data ):
545544 run_test (request , backend , session_config , example_test_data )
0 commit comments