diff --git a/IPython/frontend/html/notebook/tests/test_kernelsession.py b/IPython/frontend/html/notebook/tests/test_kernelsession.py
index 10b37fc..8b457f5 100644
--- a/IPython/frontend/html/notebook/tests/test_kernelsession.py
+++ b/IPython/frontend/html/notebook/tests/test_kernelsession.py
@@ -22,5 +22,6 @@ class TestKernelManager(TestCase):
self.assert_('shell_port' in port_dict)
self.assert_('hb_port' in port_dict)
km.get_kernel(kid)
+ km.kill_kernel(kid)