summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-27 08:58:13 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-27 08:58:13 +0200
commitba9d75e1be8bc6bc88737139a6a439b2b27c6661 (patch)
tree8d9171ae4f119066c6568e64a179ddb4631a52c1
parent5143ce5a01438280a699c15aea1738fdfc9ceb45 (diff)
parentc303cfdb8a1e23faf677262d7bc14c6ef6b2251a (diff)
downloadcpython-git-ba9d75e1be8bc6bc88737139a6a439b2b27c6661.tar.gz
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
-rw-r--r--Lib/test/test_uuid.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py
index 0a47a91a73..072734e728 100644
--- a/Lib/test/test_uuid.py
+++ b/Lib/test/test_uuid.py
@@ -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 = '''\