]> granicus.if.org Git - python/commitdiff
bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 19 Apr 2017 11:01:03 +0000 (13:01 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2017 11:01:03 +0000 (13:01 +0200)
Lib/test/test_uuid.py

index 4400ebc1d6fea2784ff45abcbbb32e5ad6e2177d..cd0f81e7e14e8f39164944c7e2d909d25ab0f964 100644 (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