mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-45874: Handle empty query string correctly in urllib.parse.parse_qsl (#29716)
This commit is contained in:
parent
4325a766f5
commit
e6fe10d340
3 changed files with 7 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ def do_test(buf, method):
|
|||
return ComparableException(err)
|
||||
|
||||
parse_strict_test_cases = [
|
||||
("", ValueError("bad query field: ''")),
|
||||
("", {}),
|
||||
("&", ValueError("bad query field: ''")),
|
||||
("&&", ValueError("bad query field: ''")),
|
||||
# Should the next few really be valid?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue