Testing Assertionerror In Python Example