summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bs4/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bs4/testing.py')
-rw-r--r--bitbake/lib/bs4/testing.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bs4/testing.py b/bitbake/lib/bs4/testing.py
index 953bca8e91..6584ecf303 100644
--- a/bitbake/lib/bs4/testing.py
+++ b/bitbake/lib/bs4/testing.py
@@ -15,7 +15,7 @@ from bs4.element import (
15 SoupStrainer, 15 SoupStrainer,
16) 16)
17 17
18from bs4.builder import HTMLParserTreeBuilder 18from bs4.builder._htmlparser import HTMLParserTreeBuilder
19default_builder = HTMLParserTreeBuilder 19default_builder = HTMLParserTreeBuilder
20 20
21 21
@@ -56,7 +56,7 @@ class SoupTest(unittest.TestCase):
56 self.assertEqual(earlier, e.previous_element) 56 self.assertEqual(earlier, e.previous_element)
57 earlier = e 57 earlier = e
58 58
59class HTMLTreeBuilderSmokeTest(object): 59class HTMLTreeBuilderSmokeTest(SoupTest):
60 60
61 """A basic test of a treebuilder's competence. 61 """A basic test of a treebuilder's competence.
62 62
@@ -541,7 +541,7 @@ Hello, world!
541 data.a['foo'] = 'bar' 541 data.a['foo'] = 'bar'
542 self.assertEqual('<a foo="bar">text</a>', data.a.decode()) 542 self.assertEqual('<a foo="bar">text</a>', data.a.decode())
543 543
544class XMLTreeBuilderSmokeTest(object): 544class XMLTreeBuilderSmokeTest(SoupTest):
545 545
546 def test_pickle_and_unpickle_identity(self): 546 def test_pickle_and_unpickle_identity(self):
547 # Pickling a tree, then unpickling it, yields a tree identical 547 # Pickling a tree, then unpickling it, yields a tree identical