Since we're asserting that the parameter is `unicode`, we don't need to worry by `AttributeError`, so you should remove it and the comment part 'or its None'