summaryrefslogtreecommitdiff
path: root/bs4/tests/test_htmlparser.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2020-05-17 13:49:43 -0400
committerLeonard Richardson <leonardr@segfault.org>2020-05-17 13:49:43 -0400
commit56d128279162d3a5696cfba767891c843393e372 (patch)
treea8797de2fa46769924b4fe3bd165f4c42de0f408 /bs4/tests/test_htmlparser.py
parent329fc7fd408388ac7b62e8703962f28aae0f3a9d (diff)
Documented some recently added customization features.
Diffstat (limited to 'bs4/tests/test_htmlparser.py')
-rw-r--r--bs4/tests/test_htmlparser.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bs4/tests/test_htmlparser.py b/bs4/tests/test_htmlparser.py
index 7b06f89..7ee91aa 100644
--- a/bs4/tests/test_htmlparser.py
+++ b/bs4/tests/test_htmlparser.py
@@ -67,9 +67,7 @@ class HTMLParserTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest):
# You can also get this behavior explicitly.
def assert_attribute(on_duplicate_attribute, expected):
soup = self.soup(
- markup, parser_kwargs=dict(
- on_duplicate_attribute=on_duplicate_attribute
- )
+ markup, on_duplicate_attribute=on_duplicate_attribute
)
self.assertEquals(expected, soup.a['href'])