From: Serhiy Storchaka Date: Wed, 27 Nov 2013 06:57:33 +0000 (+0200) Subject: Skip test_find_mac on Windows (issue #19804). X-Git-Tag: v2.7.8~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf6a3e2a270e78d4bb5a2d41bab57d25874da9e5;p=thirdparty%2FPython%2Fcpython.git Skip test_find_mac on Windows (issue #19804). This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin. --- diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 55b939f0f63e..e623417af078 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -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 = '''\