]> granicus.if.org Git - python/commitdiff
Skip test_find_mac on Windows (issue #19804).
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.

Lib/test/test_uuid.py

index 0a47a91a73bba7e9afcb6ea59ee011bb92c7fbb3..072734e7286f31cd314ae06df97921d05ac2bef5 100644 (file)
@@ -358,6 +358,7 @@ class TestUUID(unittest.TestCase):
 
         self.assertEqual(node1, node2)
 
+    @unittest.skipUnless(os.name == 'posix', 'requires Posix')
     def test_find_mac(self):
         data = '''\