Only skip test_nis on Solaris.

This commit is contained in:
Alexandre Vassalotti 2009-07-22 04:27:34 +00:00
parent 2db046dc39
commit b66c67d255

View file

@ -1,9 +1,11 @@
from test import support
import unittest
import sys
# Skip test if nis module does not exist.
nis = support.import_module('nis')
if sys.platform.startswith("sunos"):
raise unittest.SkipTest("test_nis hangs on Solaris")
class NisTests(unittest.TestCase):