Commit 4480d30b authored by Georg Brandl's avatar Georg Brandl

ref #19855: skip uuid test_find_mac on non-Posix as in later branches

parent ff3e5e37
from unittest import TestCase import unittest
from test import support from test import support
import builtins import builtins
import io import io
...@@ -12,7 +12,7 @@ def importable(name): ...@@ -12,7 +12,7 @@ def importable(name):
except: except:
return False return False
class TestUUID(TestCase): class TestUUID(unittest.TestCase):
last_node = None last_node = None
source2node = {} source2node = {}
...@@ -362,6 +362,7 @@ class TestUUID(TestCase): ...@@ -362,6 +362,7 @@ class TestUUID(TestCase):
self.assertEqual(node1, node2) self.assertEqual(node1, node2)
@unittest.skipUnless(os.name == 'posix', 'requires Posix')
def test_find_mac(self): def test_find_mac(self):
data = '''\ data = '''\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment