From c05433e7806eda7d9e4b29e3ca9afa01f9b6ef4b Mon Sep 17 00:00:00 2001 From: MinRK Date: Fri, 10 Aug 2012 19:09:36 -0700 Subject: [PATCH] s/assertEquals/assertEqual (again) fix a few deprecated assertEquals that have snuck back in --- IPython/frontend/html/notebook/tests/test_nbmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/frontend/html/notebook/tests/test_nbmanager.py b/IPython/frontend/html/notebook/tests/test_nbmanager.py index d151386cd..643681abf 100644 --- a/IPython/frontend/html/notebook/tests/test_nbmanager.py +++ b/IPython/frontend/html/notebook/tests/test_nbmanager.py @@ -14,13 +14,13 @@ class TestNotebookManager(TestCase): def test_nb_dir(self): with TemporaryDirectory() as td: km = FileNotebookManager(notebook_dir=td) - self.assertEquals(km.notebook_dir, td) + self.assertEqual(km.notebook_dir, td) def test_create_nb_dir(self): with TemporaryDirectory() as td: nbdir = os.path.join(td, 'notebooks') km = FileNotebookManager(notebook_dir=nbdir) - self.assertEquals(km.notebook_dir, nbdir) + self.assertEqual(km.notebook_dir, nbdir) def test_missing_nb_dir(self): with TemporaryDirectory() as td: