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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-11-08 06:26:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-08 06:52:08 +0300
commitc516659b5e2bb118a5d9f28d49477d2ac1f24b08 (patch)
tree003157e361c23502ad7bb23ada328212a00a580b /tests/python
parent56ee96349dce3826999a1ebcfff890d8066dce50 (diff)
Cleanup: use static sets
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/modules/mesh_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/modules/mesh_test.py b/tests/python/modules/mesh_test.py
index 4cf545d3292..3cee4d88498 100644
--- a/tests/python/modules/mesh_test.py
+++ b/tests/python/modules/mesh_test.py
@@ -113,7 +113,7 @@ class OperatorSpecEditMode:
"""
self.operator_name = operator_name
self.operator_parameters = operator_parameters
- if select_mode not in ['VERT', 'EDGE', 'FACE']:
+ if select_mode not in {'VERT', 'EDGE', 'FACE'}:
raise ValueError("select_mode must be either {}, {} or {}".format('VERT', 'EDGE', 'FACE'))
self.select_mode = select_mode
self.selection = selection