Skip to content

Commit 5699a47

Browse files
derek73claude
andcommitted
Restore test_string_output with an assertion
The test was removed because it had no assertions, but it was covering string output for UTF-8 names parsed from comma format. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5e61fc5 commit 5699a47

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ def test_utf8(self) -> None:
5858
self.m(hn.first, "Jüan", hn)
5959
self.m(hn.last, "de la Véña", hn)
6060

61+
def test_string_output(self) -> None:
62+
hn = HumanName("de la Véña, Jüan")
63+
self.m(str(hn), "Jüan de la Véña", hn)
64+
6165
def test_escaped_utf8_bytes(self) -> None:
6266
hn = HumanName(b'B\xc3\xb6ck, Gerald')
6367
self.m(hn.first, "Gerald", hn)

0 commit comments

Comments
 (0)