]> 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:33 +0000 (08:57 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 Nov 2013 06:57:33 +0000 (08:57 +0200)
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.

Lib/test/test_uuid.py

index 55b939f0f63e63cd5d388c9a9b18b63b2f8899b0..e623417af078aed1ee1acfe320e41ef96f7d3539 100644 (file)
@@ -347,6 +347,7 @@ class TestUUID(unittest.TestCase):
 
         self.assertEqual(node1, node2)
 
+    @unittest.skipUnless(os.name == 'posix', 'requires Posix')
     def test_find_mac(self):
         data = '''\