From d480e97f73c80b9e610348b75cb40afbe37a1230 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Wed, 4 Sep 2024 16:01:59 -0400 Subject: [PATCH] IDM-10.2: Fix provisional check (#35407) --- src/python_testing/spec_parsing_support.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python_testing/spec_parsing_support.py b/src/python_testing/spec_parsing_support.py index 1444966fe5ea1a..445e168ecb4f5a 100644 --- a/src/python_testing/spec_parsing_support.py +++ b/src/python_testing/spec_parsing_support.py @@ -216,8 +216,9 @@ def __init__(self, cluster, cluster_id, name): except (KeyError, StopIteration): self._derived = None - if list(cluster.iter('provisionalConform')): - self._is_provisional = True + for id in cluster.iter('clusterIds'): + if list(id.iter('provisionalConform')): + self._is_provisional = True try: classification = next(cluster.iter('classification'))