From 3ae229f2181c57db47646bf34daeb4ea507d0bf3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 20 Aug 2026 01:38:21 -0500 Subject: [PATCH] Fix analyze-memory test path expectations on Windows --- tests/unit_tests/test_main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/unit_tests/test_main.py b/tests/unit_tests/test_main.py index fc896ed0ca..eed1244baa 100644 --- a/tests/unit_tests/test_main.py +++ b/tests/unit_tests/test_main.py @@ -7269,10 +7269,11 @@ def test_command_analyze_memory_arduino_toolchain( result = command_analyze_memory(MockArgs(), config) assert result == 0 + # str(Path(...)) so the expectation matches the platform's separators mock_memory_analyzer_cli.assert_called_once_with( - "/build/firmware.elf", - "/tc/objdump", - "/tc/readelf", + str(Path("/build/firmware.elf")), + str(Path("/tc/objdump")), + str(Path("/tc/readelf")), set(), idedata=None, )