Skip to content

Commit e1696fb

Browse files
committed
[tests] specify exceptions (new flake8 moan)
1 parent d06eaa2 commit e1696fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _check_subproc(self, args):
165165
args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
166166
try:
167167
output, unused_err = proc.communicate()
168-
except:
168+
except subprocess.CalledProcessError:
169169
proc.kill()
170170
proc.wait()
171171
raise

0 commit comments

Comments
 (0)