mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-06-27 16:10:24 +08:00
[tests] specify exceptions (new flake8 moan)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user