summaryrefslogtreecommitdiff
path: root/src/beautifulsoup/tests
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2010-12-28 11:12:20 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2010-12-28 11:12:20 -0500
commit30cb1ad76ee23fb89f0611db3f7b9a26cbbce06e (patch)
tree2ae8cd9f786b9b101075b9ae59f5979019260e89 /src/beautifulsoup/tests
parentd575daed6b0ac6fffc691c44e256a3e8de8e8cdc (diff)
Removed the HTMLParser tree builder to give me some room to maneuver.
Diffstat (limited to 'src/beautifulsoup/tests')
-rw-r--r--src/beautifulsoup/tests/helpers.py1
-rw-r--r--src/beautifulsoup/tests/test_soup.py5
2 files changed, 2 insertions, 4 deletions
diff --git a/src/beautifulsoup/tests/helpers.py b/src/beautifulsoup/tests/helpers.py
index b9de4f2..219d95c 100644
--- a/src/beautifulsoup/tests/helpers.py
+++ b/src/beautifulsoup/tests/helpers.py
@@ -3,7 +3,6 @@
import unittest
from beautifulsoup import BeautifulSoup
from beautifulsoup.element import SoupStrainer
-from test_soup import SoupTest
class SoupTest(unittest.TestCase):
diff --git a/src/beautifulsoup/tests/test_soup.py b/src/beautifulsoup/tests/test_soup.py
index c5a02b6..90201a5 100644
--- a/src/beautifulsoup/tests/test_soup.py
+++ b/src/beautifulsoup/tests/test_soup.py
@@ -9,9 +9,8 @@ import re
import unittest
from beautifulsoup import *
from beautifulsoup.element import CData, Comment, Declaration, SoupStrainer, Tag
-from beautifulsoup.builder import ICantBelieveItsValidHTMLTreeBuilder
from beautifulsoup.dammit import UnicodeDammit
-
+from beautifulsoup.builder.html5_builder import HTML5TreeBuilder
def additional_tests():
return unittest.TestLoader().loadTestsFromName(__name__)
@@ -19,7 +18,7 @@ def additional_tests():
class SoupTest(unittest.TestCase):
- default_builder = HTMLParserXMLTreeBuilder()
+ default_builder = HTML5TreeBuilder()
def assertSoupEquals(self, toParse, rep=None, builder=None,
encoding=None):