commit | 920fa6a102f8d5f46a2e0552e85ae295882a92bb | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Oct 22 13:46:23 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Oct 22 13:46:23 2006 +0000 |
tree | d69b28543b6f3b53e3bc7730d9f3e6d907687b52 | |
parent | 63a9b8b0679903ca1cfc17daf0a881c74a6ef1a0 [diff] [blame] |
Remove passwd.adjunct.byname from list of maps for test_nis.
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py index f5224fe..74ceeea 100644 --- a/Lib/test/test_nis.py +++ b/Lib/test/test_nis.py
@@ -11,6 +11,13 @@ # only do this if running under the regression suite raise TestSkipped, msg +try: + # On some systems, this map is only accessible to the + # super user + maps.remove("passwd.adjunct.byname") +except ValueError: + pass + done = 0 for nismap in maps: if verbose: