From: Georg Brandl Date: Wed, 1 Oct 2014 20:31:04 +0000 (+0200) Subject: ref #19855: skip uuid test_find_mac on non-Posix as in later branches X-Git-Tag: v3.2.6rc1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4480d30b8b69ce33f7fa98d9f38cdee343d1d2f3;p=python ref #19855: skip uuid test_find_mac on non-Posix as in later branches --- diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 7ba09677a7..9f7d606238 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -1,4 +1,4 @@ -from unittest import TestCase +import unittest from test import support import builtins import io @@ -12,7 +12,7 @@ def importable(name): except: return False -class TestUUID(TestCase): +class TestUUID(unittest.TestCase): last_node = None source2node = {} @@ -362,6 +362,7 @@ class TestUUID(TestCase): self.assertEqual(node1, node2) + @unittest.skipUnless(os.name == 'posix', 'requires Posix') def test_find_mac(self): data = '''\