Merge pull request #1143 from jcb91/lint

[tests] specify exceptions (new flake8 moan)
This commit is contained in:
Josh Barnes
2017-10-25 17:34:44 +01:00
committed by GitHub
+1 -1
View File
@@ -165,7 +165,7 @@ class AppTest(TestCase):
args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
try:
output, unused_err = proc.communicate()
except:
except subprocess.CalledProcessError:
proc.kill()
proc.wait()
raise