mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
skip test_test of test_mailcap on VxWorks (GH-23507)
This commit is contained in:
parent
64c8f81047
commit
996a1ef8ae
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ import copy
|
|||
import test.support
|
||||
from test.support import os_helper
|
||||
import unittest
|
||||
import sys
|
||||
|
||||
# Location of mailcap file
|
||||
MAILCAPFILE = test.support.findfile("mailcap.txt")
|
||||
|
@ -214,6 +215,7 @@ class FindmatchTest(unittest.TestCase):
|
|||
self._run_cases(cases)
|
||||
|
||||
@unittest.skipUnless(os.name == "posix", "Requires 'test' command on system")
|
||||
@unittest.skipIf(sys.platform == "vxworks", "'test' command is not supported on VxWorks")
|
||||
def test_test(self):
|
||||
# findmatch() will automatically check any "test" conditions and skip
|
||||
# the entry if the check fails.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue