Then we cannot know whether the NameError exception came from `compute_type` method or `default_class_name` string. That was one reason why I originally added separate test case for name attribute.