Skip to content

Commit a756b9d

Browse files
committed
remove mention of UNIX_EPOCH + 10k years as the proof is long
1 parent f9ac658 commit a756b9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/test/test_uuid.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,6 @@ def test_uuid7_uniqueness(self):
780780
# While UUIDv8 has an entropy of 122 bits, those 122 bits may not
781781
# necessarily be sampled from a PRNG. On the other hand, UUIDv7
782782
# uses os.urandom() as a PRNG which features better randomness.
783-
#
784-
# Until reaching UNIX_EPOCH + 10'000 years, the probability for
785-
# generating two identical UUIDs is negligible.
786783
N = 1000
787784
uuids = {self.uuid.uuid7() for _ in range(N)}
788785
self.assertEqual(len(uuids), N)

0 commit comments

Comments
 (0)