From 7b9d05ec019d59575a0280c6e109e794e142f8cf Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Wed, 18 Apr 2012 14:37:44 -0400 Subject: Made encoding substitution in tags completely transparent (no more %SOUP-ENCODING%). --- bs4/tests/test_tree.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bs4/tests/test_tree.py') diff --git a/bs4/tests/test_tree.py b/bs4/tests/test_tree.py index 661decb..6cb1b7f 100644 --- a/bs4/tests/test_tree.py +++ b/bs4/tests/test_tree.py @@ -1262,10 +1262,8 @@ class TestSubstitutions(SoupTest): 'http-equiv="Content-type"/>') soup = self.soup(meta_tag) - # Parse the document, and the charset is replaced with a - # generic value. - self.assertEqual(soup.meta['content'], - 'text/html; charset=%SOUP-ENCODING%') + # Parse the document, and the charset apprears unchanged. + self.assertEqual(soup.meta['content'], 'text/html; charset=x-sjis') # Encode the document into some encoding, and the encoding is # substituted into the meta tag. -- cgit v1.2.3