Cannot Get Property Assertionclosure On Null Object Meaning In Python