Skip to content

Commit

Permalink
remove tests for Bart as suffix, bart no longer in suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
derek73 committed Dec 12, 2019
1 parent ba4d69a commit 6da7fb3
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1727,19 +1727,7 @@ def test_potential_suffix_that_is_also_last_name_comma(self):
hn = HumanName("Ma, Jack")
self.m(hn.first, "Jack", hn)
self.m(hn.last, "Ma", hn)

def test_potential_suffix_that_is_also_first_name_comma(self):
hn = HumanName("Johnson, Bart")
self.m(hn.first, "Bart", hn)
self.m(hn.last, "Johnson", hn)

# TODO: handle conjunctions in last names followed by first names clashing with suffixes
@unittest.expectedFailure
def test_potential_suffix_that_is_also_first_name_comma_with_conjunction(self):
hn = HumanName("De la Vina, Bart")
self.m(hn.first, "Bart", hn)
self.m(hn.last, "De la Vina", hn)


def test_potential_suffix_that_is_also_last_name_with_suffix(self):
hn = HumanName("Jack Ma Jr")
self.m(hn.first, "Jack", hn)
Expand Down

0 comments on commit 6da7fb3

Please sign in to comment.