From 7b0b050dd5a837f52eb0801918427e2854fa64f0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 Oct 2021 17:57:37 +1100 Subject: Tests: quiet warning for UIList class name --- tests/python/bl_pyapi_idprop_datablock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/python/bl_pyapi_idprop_datablock.py') 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) -- cgit v1.2.3