Skip to content

Commit 4480d30

Browse files
committed
ref python#19855: skip uuid test_find_mac on non-Posix as in later branches
1 parent ff3e5e3 commit 4480d30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/test/test_uuid.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from unittest import TestCase
1+
import unittest
22
from test import support
33
import builtins
44
import io
@@ -12,7 +12,7 @@ def importable(name):
1212
except:
1313
return False
1414

15-
class TestUUID(TestCase):
15+
class TestUUID(unittest.TestCase):
1616
last_node = None
1717
source2node = {}
1818

@@ -362,6 +362,7 @@ def test_getnode(self):
362362

363363
self.assertEqual(node1, node2)
364364

365+
@unittest.skipUnless(os.name == 'posix', 'requires Posix')
365366
def test_find_mac(self):
366367
data = '''\
367368

0 commit comments

Comments
 (0)