diff options
Diffstat (limited to 'tests/python/rna_array.py')
-rw-r--r-- | tests/python/rna_array.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |