diff options
author | Georg Brandl <georg@python.org> | 2014-10-01 20:31:04 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-01 20:31:04 (GMT) |
commit | 4480d30b8b69ce33f7fa98d9f38cdee343d1d2f3 (patch) | |
tree | 2439af52d3156e1e9632fdef99f65f1055991a7a /Lib/test | |
parent | ff3e5e3779ae6fab9f5d33149c95441eb847c196 (diff) | |
download | cpython-4480d30b8b69ce33f7fa98d9f38cdee343d1d2f3.zip cpython-4480d30b8b69ce33f7fa98d9f38cdee343d1d2f3.tar.gz cpython-4480d30b8b69ce33f7fa98d9f38cdee343d1d2f3.tar.bz2 |
ref #19855: skip uuid test_find_mac on non-Posix as in later branches
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_uuid.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 7ba0967..9f7d606 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -1,4 +1,4 @@ -from unittest import TestCase +import unittest from test import support import builtins import io @@ -12,7 +12,7 @@ def importable(name): except: return False -class TestUUID(TestCase): +class TestUUID(unittest.TestCase): last_node = None source2node = {} @@ -362,6 +362,7 @@ class TestUUID(TestCase): self.assertEqual(node1, node2) + @unittest.skipUnless(os.name == 'posix', 'requires Posix') def test_find_mac(self): data = '''\ |