Issue #12813: uuid.uuid4() no longer depends on ctypes

uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
This commit is contained in:
Berker Peksag 2016-03-20 17:30:25 +02:00
commit bd5b1a613b
1 changed files with 0 additions and 1 deletions

View File

@ -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