diff options
Diffstat (limited to 'bs4/testing.py')
-rw-r--r-- | bs4/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/testing.py b/bs4/testing.py index ce207cf..3e700f3 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -495,7 +495,7 @@ class XMLTreeBuilderSmokeTest(object): <script type="text/javascript"> </script> """ - soup = BeautifulSoup(doc, "xml") + soup = BeautifulSoup(doc, "lxml-xml") # lxml would have stripped this while parsing, but we can add # it later. soup.script.string = 'console.log("< < hey > > ");' |