summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2023-12-03 11:44:43 -0500
committerLeonard Richardson <leonardr@segfault.org>2023-12-03 11:44:43 -0500
commit46a30994ab5c38e9b0b2275bdfcfd0a271eeec89 (patch)
tree735d2fa26a135de175ac4d838eadb329ff775cbe
parent30c58a1d302e1aedaf86c168078bf5bc341e8c9a (diff)
Corrected a typo in a test that was causing test failures when run against
libxml2 2.12.1. [bug=2045481]
-rw-r--r--CHANGELOG3
-rw-r--r--bs4/tests/__init__.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a7c842c..66fcb74 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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>