diff options
-rw-r--r-- | Lib/test/test_nis.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ except nis.error, msg: # 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: |