summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_nis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_nis.py')
-rw-r--r--Lib/test/test_nis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py
index b73faf9..f711de0 100644
--- a/Lib/test/test_nis.py
+++ b/Lib/test/test_nis.py
@@ -1,4 +1,4 @@
-from test_support import verbose, TestFailed
+from test_support import verbose, TestFailed, TestSkipped
import nis
print 'nis.maps()'
@@ -9,7 +9,7 @@ except nis.error, msg:
if verbose:
raise TestFailed, msg
# only do this if running under the regression suite
- raise ImportError, msg
+ raise TestSkipped, msg
done = 0
for nismap in maps: