Tests: fixing tests interrupt in terminal.

KeyboardInterrupt re-raised.
This commit is contained in:
Max Romanov
2020-11-16 20:37:01 +03:00
parent 6d2b60ff3e
commit 567f0a7b30
10 changed files with 52 additions and 9 deletions

View File

@@ -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'