From 7806607df95a706f8614eb25ae312d8c9f2077f9 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 26 Nov 2022 16:46:43 +0300 Subject: [PATCH] Improve error message of `Unrecognised platforms specified` (#9283) --- tests/check_consistent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check_consistent.py b/tests/check_consistent.py index 1b3cca2eb..237fffe08 100755 --- a/tests/check_consistent.py +++ b/tests/check_consistent.py @@ -193,7 +193,7 @@ def check_metadata() -> None: specified_stubtest_platforms = set(tool_stubtest.get("platforms", [])) assert ( specified_stubtest_platforms <= supported_stubtest_platforms - ), f"Unrecognised platforms specified: {supported_stubtest_platforms - specified_stubtest_platforms}" + ), f"Unrecognised platforms specified: {supported_stubtest_platforms - specified_stubtest_platforms} for {distribution}" # Check that only specified platforms install packages: for supported_plat in supported_stubtest_platforms: