diff --git a/examples/system/ota/otatool/pytest_otatool.py b/examples/system/ota/otatool/pytest_otatool.py index a8fe39976a..a8f1e3c16d 100644 --- a/examples/system/ota/otatool/pytest_otatool.py +++ b/examples/system/ota/otatool/pytest_otatool.py @@ -18,7 +18,7 @@ def test_otatool_example(dut: Dut) -> None: dut.expect('Example end') # Close connection to DUT - dut.serial.proc.close() + dut.serial.close() script_path = os.path.join(str(os.getenv('IDF_PATH')), 'examples', 'system', 'ota', 'otatool', 'otatool_example.py') binary_path = ''