Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-09-18 11:45:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-09-18 11:45:31 +0400
commit90f75b8ce034068f0f8192e32d4b9a6d9261393f (patch)
tree9d56098c6816a02f4396273fd1927b1b234a41ba /tests
parentcf0ce0afc7b79cc42fbf083da0e7deacf54a836f (diff)
Cleanup: use static sets where possible
Diffstat (limited to 'tests')
-rw-r--r--tests/python/rna_array.py2
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)