Skip to content

Commit 5961212

Browse files
committed
gh-125651: Add test for unicode sequence and adjust news message
1 parent 965db01 commit 5961212

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/test/test_uuid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def test_exceptions(self):
242242
badvalue(lambda: self.uuid.UUID('+123456781234567812345678z234567'))
243243
badvalue(lambda: self.uuid.UUID(' 123456781234567812345678z23456 '))
244244
badvalue(lambda: self.uuid.UUID(' 123456781234567812345678z2345 '))
245+
badvalue(lambda: self.uuid.UUID('\uff10123456781234567812345678z234567'))
245246

246247
# Badly formed bytes.
247248
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)