mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-14 13:25:11 -05:00
20 lines
612 B
Python
20 lines
612 B
Python
|
"""Tests to ensure that the html.parser tree builder generates good
|
||
|
trees."""
|
||
|
|
||
|
from bs4.testing import SoupTest, HTMLTreeBuilderSmokeTest
|
||
|
from bs4.builder import HTMLParserTreeBuilder
|
||
|
|
||
|
class HTMLParserTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest):
|
||
|
|
||
|
@property
|
||
|
def default_builder(self):
|
||
|
return HTMLParserTreeBuilder()
|
||
|
|
||
|
def test_namespaced_system_doctype(self):
|
||
|
# html.parser can't handle namespaced doctypes, so skip this one.
|
||
|
pass
|
||
|
|
||
|
def test_namespaced_public_doctype(self):
|
||
|
# html.parser can't handle namespaced doctypes, so skip this one.
|
||
|
pass
|