summaryrefslogtreecommitdiff
path: root/src/beautifulsoup/tests/test_soup.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2010-12-24 10:09:17 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2010-12-24 10:09:17 -0500
commit66237256dfec2976aa62cff78ae1dbeafab0c4cf (patch)
tree9d411f0186f5bfcfe4cacf34099b48e6e4588f5c /src/beautifulsoup/tests/test_soup.py
parent7cf03ca17f51970579ead05953cfa2306877c44c (diff)
Since this is 4.0, got rid of compatibility methods.
Diffstat (limited to 'src/beautifulsoup/tests/test_soup.py')
-rw-r--r--src/beautifulsoup/tests/test_soup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beautifulsoup/tests/test_soup.py b/src/beautifulsoup/tests/test_soup.py
index 24b333e..ff91104 100644
--- a/src/beautifulsoup/tests/test_soup.py
+++ b/src/beautifulsoup/tests/test_soup.py
@@ -734,7 +734,7 @@ class EncodeRed(SoupTest):
"Otherwise, ignore it.")
self.assertEquals(soup.originalEncoding, "euc-jp")
- self.assertEquals(soup.renderContents('utf-8'), utf8)
+ self.assertEquals(soup.encodeContents('utf-8'), utf8)
old_text = "<?xml encoding='windows-1252'><foo>\x92</foo>"
new_text = "<?xml version='1.0' encoding='utf-8'?><foo>&rsquo;</foo>"