summaryrefslogtreecommitdiff
path: root/tests/test_soup.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 23:43:25 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-26 23:43:25 -0500
commit9b2e8ff9fa078f41ef1229874b3c3b910a31056b (patch)
treea7db0e1743c134bb5ed690c7a7de94ea891e286d /tests/test_soup.py
parent6a8fa5523c6783fc407a9f49f7b446d8f4327e8e (diff)
Made EntitySubstitution a utility class, not the kind of class you subclass.
Diffstat (limited to 'tests/test_soup.py')
-rw-r--r--tests/test_soup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_soup.py b/tests/test_soup.py
index c4d9c2c..690db39 100644
--- a/tests/test_soup.py
+++ b/tests/test_soup.py
@@ -19,7 +19,7 @@ class TestSelectiveParsing(SoupTest):
class TestEntitySubstitution(unittest.TestCase):
"""Standalone tests of the EntitySubstitution class."""
def setUp(self):
- self.sub = EntitySubstitution()
+ self.sub = EntitySubstitution
def test_simple_html_substitution(self):
# Unicode characters corresponding to named HTML entites