Skip to content

Commit e60c126

Browse files
authored
Update Lib/test/test_uuid.py
1 parent b3fa2d0 commit e60c126

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_uuid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,10 +1091,10 @@ def test_uuid7_overflow_counter(self):
10911091
equal((u.int >> 32) & 0x3fff_ffff, new_counter_lo)
10921092
equal(u.int & 0xffff_ffff, tail)
10931093

1094-
# Reflect the global state changes from the previous UUIDv7 call.
10951094
# Check that the timestamp of future UUIDs created within
10961095
# the same logical millisecond does not advance after the
1097-
# counter overflowed.
1096+
# counter overflowed. In addition, since the counter could
1097+
# be incremented, we are no more in an "overflow" state.
10981098
#
10991099
# See https://github.com/python/cpython/issues/138862.
11001100
v = self.uuid.uuid7()

0 commit comments

Comments
 (0)