def testInitInvaliA(self):
    'Testing initialization from invalid units'
    with self.assertRaises(AttributeError):
        A(banana=100)
Testing initialization from invalid units
def testInitInvaliA(self):
    
    with self.assertRaises(AttributeError):
        A(banana=100)