Skip to content

Commit 8f2c1d2

Browse files
authored
Merge pull request #1143 from jcb91/lint
[tests] specify exceptions (new flake8 moan)
2 parents 1f80ca6 + e1696fb commit 8f2c1d2

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)