summaryrefslogtreecommitdiff
path: root/bs4/tests/test_tree.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2023-01-25 14:52:31 -0500
committerLeonard Richardson <leonardr@segfault.org>2023-01-25 14:52:31 -0500
commit1f51372069b3cc204ffc43b6ef59a82f4bd32f07 (patch)
tree1a962d0d621730e6764eab329136d758a996e7a6 /bs4/tests/test_tree.py
parent9f29d5b62539d8020b3e99e084c52a45996b7403 (diff)
The HTMLFormatter and XMLFormatter constructors no longer return a
value. [bug=1992693]
Diffstat (limited to 'bs4/tests/test_tree.py')
-rw-r--r--bs4/tests/test_tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_tree.py b/bs4/tests/test_tree.py
index f40e764..e456966 100644
--- a/bs4/tests/test_tree.py
+++ b/bs4/tests/test_tree.py
@@ -913,7 +913,7 @@ class TestTreeModification(SoupTest):
@pytest.mark.parametrize(
"get_tags", [lambda tag: tag, lambda tag: tag.contents]
)
- def test_extend_with_another_tags_contents(self, tags):
+ def test_extend_with_another_tags_contents(self, get_tags):
data = '<body><div id="d1"><a>1</a><a>2</a><a>3</a><a>4</a></div><div id="d2"></div></body>'
soup = self.soup(data)
d1 = soup.find('div', id='d1')