diff --git a/IPython/nbconvert/filters/tests/test_ansi.py b/IPython/nbconvert/filters/tests/test_ansi.py
index e578696..8725c5b 100644
--- a/IPython/nbconvert/filters/tests/test_ansi.py
+++ b/IPython/nbconvert/filters/tests/test_ansi.py
@@ -46,7 +46,7 @@ class TestAnsi(TestsBase):
def _try_strip_ansi(self, inval, outval):
- self.assert_equals(outval, strip_ansi(inval))
+ self.assert_equal(outval, strip_ansi(inval))
def test_ansi2html(self):
diff --git a/IPython/nbconvert/filters/tests/test_latex.py b/IPython/nbconvert/filters/tests/test_latex.py
index 8426763..cfd181b 100644
--- a/IPython/nbconvert/filters/tests/test_latex.py
+++ b/IPython/nbconvert/filters/tests/test_latex.py
@@ -44,7 +44,7 @@ class TestLatex(TestsBase):
"""
Try to remove latex from string
"""
- self.assert_equals(escape_latex(test), result)
+ self.assert_equal(escape_latex(test), result)
def test_strip_math_space(self):
@@ -69,4 +69,4 @@ class TestLatex(TestsBase):
"""
Try to remove spaces between dollar symbols and contents correctly
"""
- self.assert_equals(strip_math_space(test), result)
+ self.assert_equal(strip_math_space(test), result)
diff --git a/IPython/nbconvert/filters/tests/test_strings.py b/IPython/nbconvert/filters/tests/test_strings.py
index cec378b..39b3475 100644
--- a/IPython/nbconvert/filters/tests/test_strings.py
+++ b/IPython/nbconvert/filters/tests/test_strings.py
@@ -46,7 +46,7 @@ class TestStrings(TestsBase):
html2text test
"""
#TODO: More tests
- self.assert_equals(html2text('joe'), 'joe')
+ self.assert_equal(html2text('joe'), 'joe')
def test_add_anchor(self):
@@ -80,7 +80,7 @@ class TestStrings(TestsBase):
def _try_strip_dollars(self, test, result):
- self.assert_equals(strip_dollars(test), result)
+ self.assert_equal(strip_dollars(test), result)
def test_strip_files_prefix(self):
@@ -98,7 +98,7 @@ class TestStrings(TestsBase):
def _try_files_prefix(self, test, result):
- self.assert_equals(strip_files_prefix(test), result)
+ self.assert_equal(strip_files_prefix(test), result)
def test_comment_lines(self):
@@ -116,10 +116,10 @@ class TestStrings(TestsBase):
get_lines test
"""
text = "hello\nworld\n!"
- self.assert_equals(get_lines(text, start=1), "world\n!")
- self.assert_equals(get_lines(text, end=2), "hello\nworld")
- self.assert_equals(get_lines(text, start=2, end=5), "!")
- self.assert_equals(get_lines(text, start=-2), "world\n!")
+ self.assert_equal(get_lines(text, start=1), "world\n!")
+ self.assert_equal(get_lines(text, end=2), "hello\nworld")
+ self.assert_equal(get_lines(text, start=2, end=5), "!")
+ self.assert_equal(get_lines(text, start=-2), "world\n!")
def test_ipython2python(self):