[Python-checkins] cpython (2.7): Skip test_find_mac on Windows (issue #19804).
serhiy.storchaka
python-checkins at python.org
Wed Nov 27 07:58:47 CET 2013
http://hg.python.org/cpython/rev/e5b7f140ae30
changeset: 87609:e5b7f140ae30
branch: 2.7
parent: 87599:cbf30e9aa586
user: Serhiy Storchaka <storchaka at gmail.com>
date: Wed Nov 27 08:57:33 2013 +0200
summary:
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
files:
Lib/test/test_uuid.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py
--- a/Lib/test/test_uuid.py
+++ b/Lib/test/test_uuid.py
@@ -347,6 +347,7 @@
self.assertEqual(node1, node2)
+ @unittest.skipUnless(os.name == 'posix', 'requires Posix')
def test_find_mac(self):
data = '''\
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list