From 27b37517f8ba113237a7ab58f20eb0c2de40323b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 8 Nov 2021 14:26:48 +1100 Subject: Cleanup: use static sets --- tests/performance/api/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/performance/api/graph.py') diff --git a/tests/performance/api/graph.py b/tests/performance/api/graph.py index c7d3c5043ec..b04cd367449 100644 --- a/tests/performance/api/graph.py +++ b/tests/performance/api/graph.py @@ -21,7 +21,7 @@ class TestGraph: queue = TestQueue(json_filepath) for entry in queue.entries: - if entry.status in ('done', 'outdated'): + if entry.status in {'done', 'outdated'}: device_name = entry.device_name + " (" + entry.device_type + ")" if device_name in devices.keys(): devices[device_name].append(entry) -- cgit v1.2.3