Commit b7bd837f authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Only skip test_nis on Solaris.

parent 2bd4ba04
from test import support from test import support
import unittest import unittest
import sys
# Skip test if nis module does not exist. # Skip test if nis module does not exist.
nis = support.import_module('nis') nis = support.import_module('nis')
raise unittest.SkipTest("test_nis hangs on Solaris") if sys.platform.startswith("sunos"):
raise unittest.SkipTest("test_nis hangs on Solaris")
class NisTests(unittest.TestCase): class NisTests(unittest.TestCase):
def test_maps(self): def test_maps(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment