File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 'dello' ,
2020 'der' ,
2121 'di' ,
22- 'du' ,
2322 'dí' ,
23+ 'do' ,
24+ 'dos' ,
25+ 'du' ,
2426 'ibn' ,
2527 'la' ,
2628 'le' ,
Original file line number Diff line number Diff line change @@ -1248,6 +1248,19 @@ def test_name_is_conjunctions(self):
12481248 hn = HumanName ("e and e" )
12491249 self .m (hn .first , "e and e" , hn )
12501250
1251+ def test_portuguese_dos (self ):
1252+ hn = HumanName ("Rafael Sousa dos Anjos" )
1253+ self .m (hn .first , "Rafael" , hn )
1254+ self .m (hn .middle , "Sousa" , hn )
1255+ self .m (hn .last , "dos Anjos" , hn )
1256+
1257+ def test_portuguese_prefixes (self ):
1258+ hn = HumanName ("Joao da Silva do Amaral de Souza" )
1259+ self .m (hn .first , "Joao" , hn )
1260+ self .m (hn .middle , "da Silva do Amaral de" , hn )
1261+ self .m (hn .last , "Souza" , hn )
1262+
1263+
12511264
12521265class ConstantsCustomization (HumanNameTestBase ):
12531266
You can’t perform that action at this time.
0 commit comments