From ded4fd92f5d9cf43b6c7ef86eb6e172525a25a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20CH=C3=89DRU?= Date: Fri, 22 Sep 2023 15:48:55 +0200 Subject: [PATCH] Fix build --- tests/test_get_packages_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_get_packages_info.py b/tests/test_get_packages_info.py index 5df46f7..1897211 100644 --- a/tests/test_get_packages_info.py +++ b/tests/test_get_packages_info.py @@ -28,7 +28,7 @@ def test_license_strip_with_return_carriage(tmp_path, mocker): resolve.return_value = [ pkg_resources.Distribution(project_name="pip", metadata=metadata) ] - assert get_packages_info(req_path)[0]["licenses"] == ["MIT"] + assert get_packages_info(str(req_path))[0]["licenses"] == ["MIT"] def test_requirements_markers(tmpfile):