We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982b170 commit 4058399Copy full SHA for 4058399
tests.py
@@ -1378,6 +1378,14 @@ def test_potential_suffix_that_is_also_last_name_with_suffix_comma(self):
1378
self.m(hn.last, "Ma", hn)
1379
self.m(hn.suffix, "III, Jr", hn)
1380
1381
+ # https://github.com/derek73/python-nameparser/issues/27
1382
+ @unittest.expectedFailure
1383
+ def test_king(self):
1384
+ hn = HumanName("Dr King Jr")
1385
+ self.m(hn.title, "Dr", hn)
1386
+ self.m(hn.last, "King", hn)
1387
+ self.m(hn.suffix, "Jr, Jr", hn)
1388
+
1389
class HumanNameTitleTestCase(HumanNameTestBase):
1390
1391
def test_last_name_is_also_title(self):
0 commit comments