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 4242 'ste' ,
4343 'van' ,
4444 'vander' ,
45- 'van der' ,
4645 'vel' ,
4746 'von' ,
4847 'vom' ,
Original file line number Diff line number Diff line change @@ -1979,6 +1979,21 @@ def test_title_with_periods_lastname_comma(self):
19791979 self .m (hn .first , "John" , hn )
19801980 self .m (hn .last , "Doe" , hn )
19811981
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+
19821997
19831998class HumanNameCapitalizationTestCase (HumanNameTestBase ):
19841999 def test_capitalization_exception_for_III (self ):
You can’t perform that action at this time.
0 commit comments