diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-18 11:45:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-18 11:45:31 +0400 |
commit | 90f75b8ce034068f0f8192e32d4b9a6d9261393f (patch) | |
tree | 9d56098c6816a02f4396273fd1927b1b234a41ba /tests | |
parent | cf0ce0afc7b79cc42fbf083da0e7deacf54a836f (diff) |
Cleanup: use static sets where possible
Diffstat (limited to 'tests')
-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) |