From 1ef6082b92aba76fcc57e37502d8ee7fe8d283fc Mon Sep 17 00:00:00 2001 From: Mathieu Westphal Date: Fri, 3 Jan 2025 11:47:27 +0100 Subject: [PATCH] fixup python --- python/testing/test_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/testing/test_utils.py b/python/testing/test_utils.py index d508df22c7..95ccf8836e 100644 --- a/python/testing/test_utils.py +++ b/python/testing/test_utils.py @@ -1,9 +1,10 @@ import f3d +from pathlib import Path def test_text_distance(): assert f3d.Utils.text_distance("modle", "model") == 2 def test_collapse_path(): - assert f3d.Utils.collapse_path("/folder/../file.ext", ".") == "/file.ext" + assert f3d.Utils.collapse_path("/folder/../file.ext", ".") == Path("/file.ext")