mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
bitbake: toaster: toastergui tests Use new BeautifulSoup syntax
Fix deprecation warning specify the parser used for creating the BeautifulSoup object. (Bitbake rev: d34546e88881e89588206877ebaea506cda4f6c2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
eba5321786
commit
0a7bd539fa
@@ -380,7 +380,7 @@ class ViewTests(TestCase):
|
||||
if "<" not in td:
|
||||
ret = td
|
||||
else:
|
||||
ret = BeautifulSoup(td).text
|
||||
ret = BeautifulSoup(td, "html.parser").text
|
||||
|
||||
if len(ret):
|
||||
return "0"
|
||||
|
||||
Reference in New Issue
Block a user