Skip to content

Commit cc01385

Browse files
derek73claude
andcommitted
Remove duplicate conjunction tests added in 155fb73
test_leading_conjunction_joins_to_following_piece and test_trailing_conjunction_at_list_end were exact duplicates of the pre-existing test_starts_with_conjunction and test_ends_with_conjunction tests (same input, same assertions). They added no new coverage of the join_on_conjunctions restructuring and only inflated the test file. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 155fb73 commit cc01385

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

tests/test_conjunctions.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,3 @@ def test_conjunction_bridges_prefix_chain_with_multiple_conjunctions(self) -> No
274274
self.m(hn.first, "Alois", hn)
275275
self.m(hn.middle, "", hn)
276276
self.m(hn.last, "von und zu und von Liechtenstein", hn)
277-
278-
def test_leading_conjunction_joins_to_following_piece(self) -> None:
279-
# exercises the i == 0 branch: conjunction is the very first piece
280-
hn = HumanName("and Jon Dough")
281-
self.m(hn.first, "and Jon", hn)
282-
self.m(hn.last, "Dough", hn)
283-
284-
def test_trailing_conjunction_at_list_end(self) -> None:
285-
# exercises the truncated rm_count path: conjunction is the last piece,
286-
# so there is no following piece to remove
287-
hn = HumanName("Jon Dough and")
288-
self.m(hn.first, "Jon", hn)
289-
self.m(hn.last, "Dough and", hn)

0 commit comments

Comments
 (0)