Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
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 @@
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: