mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971)
This commit is contained in:
parent
8312fba0a1
commit
c209b70d61
1 changed files with 3 additions and 0 deletions
|
@ -344,6 +344,9 @@ class TestUUID(unittest.TestCase):
|
||||||
'requires uuid_generate_time_safe(3)')
|
'requires uuid_generate_time_safe(3)')
|
||||||
|
|
||||||
@requires_ugt
|
@requires_ugt
|
||||||
|
# bpo-29925: On Mac OS X Tiger, uuid.uuid1().is_safe returns
|
||||||
|
# uuid.SafeUUID.unknown
|
||||||
|
@support.requires_mac_ver(10, 5)
|
||||||
def test_uuid1_safe(self):
|
def test_uuid1_safe(self):
|
||||||
u = uuid.uuid1()
|
u = uuid.uuid1()
|
||||||
# uuid_generate_time_safe() may return 0 or -1 but what it returns is
|
# uuid_generate_time_safe() may return 0 or -1 but what it returns is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue