Commit c01b39e6 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Newer versions of notebook kill the running process

parent ef215900
......@@ -33,8 +33,9 @@ def test_demo():
def shutdown():
time.sleep(3)
for server in notebookapp.list_running_servers():
notebookapp.shutdown_server(server)
with mock.patch('os.kill'):
for server in notebookapp.list_running_servers():
notebookapp.shutdown_server(server)
mp.Process(target=shutdown).start()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment