We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fa2d0 commit e60c126Copy full SHA for e60c126
1 file changed
Lib/test/test_uuid.py
@@ -1091,10 +1091,10 @@ def test_uuid7_overflow_counter(self):
1091
equal((u.int >> 32) & 0x3fff_ffff, new_counter_lo)
1092
equal(u.int & 0xffff_ffff, tail)
1093
1094
- # Reflect the global state changes from the previous UUIDv7 call.
1095
# Check that the timestamp of future UUIDs created within
1096
# the same logical millisecond does not advance after the
1097
- # counter overflowed.
+ # counter overflowed. In addition, since the counter could
+ # be incremented, we are no more in an "overflow" state.
1098
#
1099
# See https://github.com/python/cpython/issues/138862.
1100
v = self.uuid.uuid7()
0 commit comments