mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
ref #19855: skip uuid test_find_mac on non-Posix as in later branches
This commit is contained in:
parent
ff3e5e3779
commit
4480d30b8b
1 changed files with 3 additions and 2 deletions
|
@ -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 = '''\
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue