Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Lib/test/test_mailcap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import test.support
from test.support import os_helper
import unittest
import sys

# Location of mailcap file
MAILCAPFILE = test.support.findfile("mailcap.txt")
Expand Down Expand Up @@ -214,6 +215,7 @@ def test_findmatch(self):
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.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
skip test_test of test_mailcap on VxWorks