bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971)

This commit is contained in:
Victor Stinner 2017-04-19 13:01:03 +02:00 committed by GitHub
parent 8312fba0a1
commit c209b70d61
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ class TestUUID(unittest.TestCase):
'requires uuid_generate_time_safe(3)')
@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):
u = uuid.uuid1()
# uuid_generate_time_safe() may return 0 or -1 but what it returns is