Merge pull request #2288 from minrk/assertEquals

s/assertEquals/assertEqual (again): fix a few deprecated assertEquals that have snuck back in
This commit is contained in:
Fernando Perez 2012-08-10 19:14:09 -07:00
commit de18aa0815

View File

@ -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: