mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Only skip test_nis on Solaris.
This commit is contained in:
parent
2db046dc39
commit
b66c67d255
1 changed files with 3 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
|||
from test import support
|
||||
import unittest
|
||||
import sys
|
||||
|
||||
# Skip test if nis module does not exist.
|
||||
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):
|
||||
def test_maps(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue