summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_isolation.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_go_isolation.py')
-rw-r--r--test/test_go_isolation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_go_isolation.py b/test/test_go_isolation.py
index c68925b9..e3a0a210 100644
--- a/test/test_go_isolation.py
+++ b/test/test_go_isolation.py
@@ -36,7 +36,7 @@ class TestGoIsolation(TestApplicationGo):
try:
nogroup_gid = grp.getgrnam('nogroup').gr_gid
nogroup = 'nogroup'
- except:
+ except KeyError:
nogroup_gid = grp.getgrnam('nobody').gr_gid
nogroup = 'nobody'