diff --git a/src/ifcbimtester/bimtester/features/steps/attributes_eleclasses_methods.py b/src/ifcbimtester/bimtester/features/steps/attributes_eleclasses_methods.py index b48ab29438..03cfd5f437 100644 --- a/src/ifcbimtester/bimtester/features/steps/attributes_eleclasses_methods.py +++ b/src/ifcbimtester/bimtester/features/steps/attributes_eleclasses_methods.py @@ -17,7 +17,6 @@ def no_element_class_ele(context, ifc_class, reason): context.elemcount = len(elements) context.falsecount = len(context.falseelems) - if context.elemcount == 0 and context.falsecount == 0: return # Test OK, thus we can not use the assert_elements method elif context.falsecount == context.elemcount: