diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-12-03 11:44:43 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-12-03 11:44:43 -0500 |
commit | 46a30994ab5c38e9b0b2275bdfcfd0a271eeec89 (patch) | |
tree | 735d2fa26a135de175ac4d838eadb329ff775cbe | |
parent | 30c58a1d302e1aedaf86c168078bf5bc341e8c9a (diff) |
Corrected a typo in a test that was causing test failures when run against
libxml2 2.12.1. [bug=2045481]
-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> |