def test_matches_internal_method_name(self): self.assertTrue(_is_internal_name("__internal"))
def test_does_not_match_mangled_method_name(self): self.assertFalse(_is_internal_name("_ClassName__internal"))
def test_does_not_match_special_method_name(self): self.assertFalse(_is_internal_name("__special__"))
def test_does_not_match_nonpublic_method_name(self): self.assertFalse(_is_internal_name("_nonpublic"))