From f530562929e7f2540168d87b9d09f8824477bf85 Mon Sep 17 00:00:00 2001 From: MinRK Date: Fri, 2 May 2014 11:00:39 -0700 Subject: [PATCH] wait until dead *before* cleaning up the temp dir --- IPython/html/tests/launchnotebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/tests/launchnotebook.py b/IPython/html/tests/launchnotebook.py index c9a5ee896..67a1955b7 100644 --- a/IPython/html/tests/launchnotebook.py +++ b/IPython/html/tests/launchnotebook.py @@ -79,9 +79,9 @@ class NotebookTestBase(TestCase): @classmethod def teardown_class(cls): cls.notebook.terminate() + cls.wait_until_dead() cls.ipython_dir.cleanup() cls.notebook_dir.cleanup() - cls.wait_until_dead() @classmethod def base_url(cls):