Tests: quiet warning for UIList class name

This commit is contained in:
Campbell Barton 2021-10-12 17:57:37 +11:00
parent fe958d7d99
commit 7b0b050dd5
1 changed files with 2 additions and 2 deletions

View File

@ -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)