diff options
Diffstat (limited to 'bs4/testing.py')
-rw-r--r-- | bs4/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/testing.py b/bs4/testing.py index 1a92af4..c9307d3 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -163,7 +163,7 @@ class HTMLTreeBuilderSmokeTest(object): foo = soup.find(text="foo") self.assertEqual(comment, foo.next_element) baz = soup.find(text="baz") - self.assertEquals(comment, baz.previous_element) + self.assertEqual(comment, baz.previous_element) def test_preserved_whitespace_in_pre_and_textarea(self): """Whitespace must be preserved in <pre> and <textarea> tags.""" |