diff options
Diffstat (limited to 'bs4/tests')
-rw-r--r-- | bs4/tests/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/tests/__init__.py b/bs4/tests/__init__.py index 4af4b0c..7f8b620 100644 --- a/bs4/tests/__init__.py +++ b/bs4/tests/__init__.py @@ -258,10 +258,10 @@ class TreeBuilderSmokeTest(object): @pytest.mark.parametrize( "multi_valued_attributes", - [None, dict(b=['class']), {'*': ['notclass']}] + [None, {}, dict(b=['class']), {'*': ['notclass']}] ) def test_attribute_not_multi_valued(self, multi_valued_attributes): - markup = '<a class="a b c">' + markup = '<html xmlns="http://www.w3.org/1999/xhtml"><a class="a b c"></html>' soup = self.soup(markup, multi_valued_attributes=multi_valued_attributes) assert soup.a['class'] == 'a b c' |