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>2021-10-12 09:57:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-12 09:57:37 +0300
commit7b0b050dd5a837f52eb0801918427e2854fa64f0 (patch)
tree682bf5f5bfc332d0535055ffa6d1e2d8675cd54e /tests
parentfe958d7d993e849527839486ef37c6239e3c5f5c (diff)
Tests: quiet warning for UIList class name
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_pyapi_idprop_datablock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/bl_pyapi_idprop_datablock.py b/tests/python/bl_pyapi_idprop_datablock.py
index ca52c1b01fe..63070dc2cb3 100644
--- a/tests/python/bl_pyapi_idprop_datablock.py
+++ b/tests/python/bl_pyapi_idprop_datablock.py
@@ -308,14 +308,14 @@ def test_restrictions2():
bpy.types.Addon.a = bpy.props.PointerProperty(type=bpy.types.Object)
- class TestUIList(UIList):
+ class TEST_UL_list(UIList):
test: bpy.props.PointerProperty(type=bpy.types.Object)
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
layout.prop(item, "name", text="", emboss=False, icon_value=icon)
check_crash(bpy.utils.register_class, TestPrefs)
- check_crash(bpy.utils.register_class, TestUIList)
+ check_crash(bpy.utils.register_class, TEST_UL_list)
bpy.utils.unregister_class(TestClassCollection)