From 90f75b8ce034068f0f8192e32d4b9a6d9261393f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Sep 2014 17:45:31 +1000 Subject: Cleanup: use static sets where possible --- tests/python/rna_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/python') diff --git a/tests/python/rna_array.py b/tests/python/rna_array.py index d3014868bcb..f9777a5b438 100644 --- a/tests/python/rna_array.py +++ b/tests/python/rna_array.py @@ -266,7 +266,7 @@ def prop_to_list(prop): ret= [] for x in prop: - if type(x) not in (bool, int, float): + if type(x) not in {bool, int, float}: ret.append(prop_to_list(x)) else: ret.append(x) -- cgit v1.2.3