summaryrefslogtreecommitdiff
path: root/bs4/builder/_html5lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/builder/_html5lib.py')
-rw-r--r--bs4/builder/_html5lib.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bs4/builder/_html5lib.py b/bs4/builder/_html5lib.py
index 7ce69aa..26b1773 100644
--- a/bs4/builder/_html5lib.py
+++ b/bs4/builder/_html5lib.py
@@ -10,11 +10,7 @@ from bs4.builder import (
)
from bs4.element import NamespacedAttribute
import html5lib
-from html5lib.constants import (
- DataLossWarning,
- namespaces,
- )
-import warnings
+from html5lib.constants import namespaces
from bs4.element import (
Comment,
Doctype,