| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -149,6 +149,11 @@ def testComment(): | |||
| 149 | 149 | throwsWithLatin1([["Comment", "\u0101"]]) | |
| 150 | 150 | ||
| 151 | 151 | ||
| 152 | + def testThrowsUnknownOption(): | ||
| 153 | + with pytest.raises(TypeError): | ||
| 154 | + HTMLSerializer(foobar=None) | ||
| 155 | + | ||
| 156 | + | ||
| 152 | 157 | @pytest.mark.parametrize("c", list("\t\n\u000C\x20\r\"'=<>`")) | |
| 153 | 158 | def testSpecQuoteAttribute(c): | |
| 154 | 159 | input_ = [["StartTag", "http://www.w3.org/1999/xhtml", "span", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments