Skip to content

Commit 412da70

Browse files
committed
gh-125651: Add test for unicode sequence and adjust news message
1 parent f666868 commit 412da70

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_uuid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ def test_exceptions(self):
287287
badvalue(lambda: self.uuid.UUID('+123456781234567812345678z234567'))
288288
badvalue(lambda: self.uuid.UUID(' 123456781234567812345678z23456 '))
289289
badvalue(lambda: self.uuid.UUID(' 123456781234567812345678z2345 '))
290+
badvalue(lambda: self.uuid.UUID('\uff10123456781234567812345678z234567'))
290291

291292
# Badly formed bytes.
292293
badvalue(lambda: self.uuid.UUID(bytes='abc'))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix parsing of HEX encoded UUID string
1+
Fix HEX parsing of :class:`uuid.UUID`.

0 commit comments

Comments
 (0)