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)
|
args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
try:
|
try:
|
||||||
output, unused_err = proc.communicate()
|
output, unused_err = proc.communicate()
|
||||||
except:
|
except subprocess.CalledProcessError:
|
||||||
proc.kill()
|
proc.kill()
|
||||||
proc.wait()
|
proc.wait()
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user