[Bf-blender-cvs] [7b0b050dd5a] master: Tests: quiet warning for UIList class name
Campbell Barton
noreply at git.blender.org
Tue Oct 12 08:59:21 CEST 2021
Commit: 7b0b050dd5a837f52eb0801918427e2854fa64f0
Author: Campbell Barton
Date: Tue Oct 12 17:57:37 2021 +1100
Branches: master
https://developer.blender.org/rB7b0b050dd5a837f52eb0801918427e2854fa64f0
Tests: quiet warning for UIList class name
===================================================================
M 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)
More information about the Bf-blender-cvs
mailing list