Cleanup: format tests

This commit is contained in:
Campbell Barton
2024-09-05 12:47:32 +10:00
parent 07a336c874
commit 4a9d67df0e
3 changed files with 5 additions and 5 deletions

View File

@@ -265,9 +265,9 @@ class TestIdPropertyDynamicRNA(TestHelper, unittest.TestCase):
def setUp(self):
super().setUp()
bpy.utils.register_class(self.TestDynRNAClass)
assert(type(self.id) == bpy.types.Scene)
assert type(self.id) == bpy.types.Scene
bpy.types.Scene.dynrna_prop = bpy.props.PointerProperty(type=self.TestDynRNAClass)
assert(hasattr(self.id, "dynrna_prop"))
assert hasattr(self.id, "dynrna_prop")
def tearDown(self):
del bpy.types.Scene.dynrna_prop