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>2018-11-26 01:26:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-26 01:26:15 +0300
commitcb66a28d821906957a8f092b999f531e4a3a4571 (patch)
tree6faf2c490f77e20f87a12bec9f16d505f3ff8356 /tests/python/bl_run_operators.py
parent24c383cfc4762c29527f70bbcf32a553ab035af2 (diff)
Cleanup: unused vars, imports
Diffstat (limited to 'tests/python/bl_run_operators.py')
-rw-r--r--tests/python/bl_run_operators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/bl_run_operators.py b/tests/python/bl_run_operators.py
index f3b1ec2f4c2..5954f7d9381 100644
--- a/tests/python/bl_run_operators.py
+++ b/tests/python/bl_run_operators.py
@@ -141,7 +141,7 @@ def reset_blend():
if USE_RANDOM_SCREEN:
import random
- for i in range(random.randint(0, len(bpy.data.screens))):
+ for _ in range(random.randint(0, len(bpy.data.screens))):
bpy.ops.screen.delete()
print("Scree IS", bpy.context.screen)
@@ -237,7 +237,7 @@ if USE_ATTRSET:
seq = getattr(bpy.data, attr)
if seq.__class__.__name__ == 'bpy_prop_collection':
for id_data in seq:
- for val, prop, tp in id_walk(id_data, bpy.data):
+ for val, prop, _tp in id_walk(id_data, bpy.data):
# print(id_data)
for val_rnd in _random_values:
try: