mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #12813: uuid.uuid4() no longer depends on ctypes
uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
This commit is contained in:
parent
d02eb8a713
commit
e2021f2ecd
1 changed files with 0 additions and 1 deletions
|
@ -354,7 +354,6 @@ class TestUUID(unittest.TestCase):
|
||||||
equal(u, uuid.UUID(v))
|
equal(u, uuid.UUID(v))
|
||||||
equal(str(u), v)
|
equal(str(u), v)
|
||||||
|
|
||||||
@unittest.skipUnless(importable('ctypes'), 'requires ctypes')
|
|
||||||
def test_uuid4(self):
|
def test_uuid4(self):
|
||||||
equal = self.assertEqual
|
equal = self.assertEqual
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue