mirror of https://github.com/python/cpython
Issue #12813: uuid.uuid4() no longer depends on ctypes
uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
This commit is contained in:
commit
bd5b1a613b
|
@ -354,7 +354,6 @@ class TestUUID(unittest.TestCase):
|
|||
equal(u, uuid.UUID(v))
|
||||
equal(str(u), v)
|
||||
|
||||
@unittest.skipUnless(importable('ctypes'), 'requires ctypes')
|
||||
def test_uuid4(self):
|
||||
equal = self.assertEqual
|
||||
|
||||
|
|
Loading…
Reference in New Issue