diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-12 09:57:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-12 09:57:37 +0300 |
commit | 7b0b050dd5a837f52eb0801918427e2854fa64f0 (patch) | |
tree | 682bf5f5bfc332d0535055ffa6d1e2d8675cd54e /tests/python | |
parent | fe958d7d993e849527839486ef37c6239e3c5f5c (diff) |
Tests: quiet warning for UIList class name
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/bl_pyapi_idprop_datablock.py | 4 |
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) |