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 f9ac658 commit a756b9dCopy full SHA for a756b9d
Lib/test/test_uuid.py
@@ -780,9 +780,6 @@ def test_uuid7_uniqueness(self):
780
# While UUIDv8 has an entropy of 122 bits, those 122 bits may not
781
# necessarily be sampled from a PRNG. On the other hand, UUIDv7
782
# 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.
786
N = 1000
787
uuids = {self.uuid.uuid7() for _ in range(N)}
788
self.assertEqual(len(uuids), N)
0 commit comments