def skipIfCustomUser(test_func):
 return skipIf((settings.AUTH_USER_MODEL != 'auth.User'), 'Custom user model in use')(test_func)

def skipIfCustomUser ( test_func ) : return skipIf ( ( settings . AUTH_USER_MODEL != 'auth.User' ) , 'Custom user model in use' ) ( test_func )
skip a test if a custom user model is in use .