test: fix pylint error in u_boot_console_exec_attach.py