summaryrefslogtreecommitdiff
path: root/bs4/testing.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2013-05-06 17:07:31 -0400
committerLeonard Richardson <leonardr@segfault.org>2013-05-06 17:07:31 -0400
commiteac207a4efeca3e7a78838377aafb4a2b44f43c5 (patch)
tree87f0dfca533dbdb97b8071e10db907e9c7cefeb0 /bs4/testing.py
parent3442a14c015212f12c892d6b2e0ce6a870b1f78d (diff)
Added failing test.
Diffstat (limited to 'bs4/testing.py')
-rw-r--r--bs4/testing.py2
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."""