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.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py
index 4f78932..9b3910d 100644
--- a/Lib/test/test_nis.py
+++ b/Lib/test/test_nis.py
@@ -1,9 +1,7 @@
+from test_support import verbose
import nis
-verbose = 0
-if __name__ == '__main__':
- verbose = 1
-
+print 'nis.maps()'
maps = nis.maps()
done = 0
for nismap in maps: