[Python-checkins] cpython (merge 3.5 -> default): Issue #12813: uuid.uuid4() no longer depends on ctypes

berker.peksag python-checkins at python.org
Sun Mar 20 11:29:07 EDT 2016


https://hg.python.org/cpython/rev/462be0479f11
changeset:   100616:462be0479f11
parent:      100614:e59b799df6e2
parent:      100615:d9301ebef8d8
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun Mar 20 17:30:25 2016 +0200
summary:
  Issue #12813: uuid.uuid4() no longer depends on ctypes

uuid.uuid4() always uses os.urandom() after 756d040aa8e8.

files:
  Lib/test/test_uuid.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py
--- a/Lib/test/test_uuid.py
+++ b/Lib/test/test_uuid.py
@@ -354,7 +354,6 @@
             equal(u, uuid.UUID(v))
             equal(str(u), v)
 
-    @unittest.skipUnless(importable('ctypes'), 'requires ctypes')
     def test_uuid4(self):
         equal = self.assertEqual
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list