File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 42
42
'ste' ,
43
43
'van' ,
44
44
'vander' ,
45
- 'van der' ,
46
45
'vel' ,
47
46
'von' ,
48
47
'vom' ,
Original file line number Diff line number Diff line change @@ -1979,6 +1979,21 @@ def test_title_with_periods_lastname_comma(self):
1979
1979
self .m (hn .first , "John" , hn )
1980
1980
self .m (hn .last , "Doe" , hn )
1981
1981
1982
+ def test_mac_with_spaces (self ):
1983
+ hn = HumanName ("Jane Mac Beth" )
1984
+ self .m (hn .first , "Jane" , hn )
1985
+ self .m (hn .last , "Mac Beth" , hn )
1986
+
1987
+ def test_mac_as_first_name (self ):
1988
+ hn = HumanName ("Mac Miller" )
1989
+ self .m (hn .first , "Mac" , hn )
1990
+ self .m (hn .last , "Miller" , hn )
1991
+
1992
+ def test_multiple_prefixes (self ):
1993
+ hn = HumanName ("Mike van der Velt" )
1994
+ self .m (hn .first , "Mike" , hn )
1995
+ self .m (hn .last , "van der Velt" , hn )
1996
+
1982
1997
1983
1998
class HumanNameCapitalizationTestCase (HumanNameTestBase ):
1984
1999
def test_capitalization_exception_for_III (self ):
You can’t perform that action at this time.
0 commit comments