diff options
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | bs4/tests/__init__.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -12,6 +12,9 @@ * Corrected the syntax of the license definition in pyproject.toml. Patch by Louis Maddox. [bug=2032848] +* Corrected a typo in a test that was causing test failures when run against + libxml2 2.12.1. [bug=2045481] + = 4.12.2 (20230407) * Fixed an unhandled exception in BeautifulSoup.decode_contents diff --git a/bs4/tests/__init__.py b/bs4/tests/__init__.py index dbb1593..325affe 100644 --- a/bs4/tests/__init__.py +++ b/bs4/tests/__init__.py @@ -1105,7 +1105,7 @@ class XMLTreeBuilderSmokeTest(TreeBuilderSmokeTest): doc = """<?xml version="1.0" encoding="utf-8"?> <Document xmlns="http://example.com/ns0" xmlns:ns1="http://example.com/ns1" - xmlns:ns2="http://example.com/ns2" + xmlns:ns2="http://example.com/ns2"> <ns1:tag>foo</ns1:tag> <ns1:tag>bar</ns1:tag> <ns2:tag key="value">baz</ns2:tag> |