Kaydet (Commit) ba9d75e1 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Skip test_find_mac on Windows (issue #19804).

This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
...@@ -358,6 +358,7 @@ class TestUUID(unittest.TestCase): ...@@ -358,6 +358,7 @@ class TestUUID(unittest.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