Skip to content

Commit 9a24ce9

Browse files
authored
Merge pull request #263 from Tenzer/avoid-deprecated-bs4-method
Avoid calling the deprecated "findAll" BeautifulSoup4 method
2 parents a068809 + 1fb6a43 commit 9a24ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webtest/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def _parse_fields(self):
432432
fields = OrderedDict()
433433
field_order = []
434434
tags = ('input', 'select', 'textarea', 'button')
435-
for pos, node in enumerate(self.html.findAll(tags)):
435+
for pos, node in enumerate(self.html.find_all(tags)):
436436
attrs = dict(node.attrs)
437437
tag = node.name
438438
name = None

0 commit comments

Comments
 (0)