From 89c7bc8e29e97415fd762275c43bb87070911bff Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Thu, 14 Dec 2023 11:27:43 -0600 Subject: [PATCH] Set comparison --- tests/test_inspect_pkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_inspect_pkg.py b/tests/test_inspect_pkg.py index b3c3527fe2..a01ab3ffec 100644 --- a/tests/test_inspect_pkg.py +++ b/tests/test_inspect_pkg.py @@ -97,4 +97,4 @@ def test_which_package(tmp_path: Path): precs_shared = list(which_package(tmp_path / "shared", tmp_path)) assert len(precs_shared) == 2 - assert precs_shared == [precB, precA] + assert set(precs_shared) == {precA, precB}