bpo-42066: CookieJar cookies should not be sorted (GH-22745)

This commit is contained in:
Iman Kermani 2022-04-21 06:15:24 +04:30 committed by GitHub
parent 031f1e6040
commit 615b24c80b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 12 deletions

View file

@ -1293,11 +1293,11 @@ class CookieTests(unittest.TestCase):
r'port="90,100, 80,8080"; '
r'max-age=100; Comment = "Just kidding! (\"|\\\\) "')
versions = [1, 1, 1, 0, 1]
names = ["bang", "foo", "foo", "spam", "foo"]
domains = [".sol.no", "blah.spam.org", "www.acme.com",
"www.acme.com", "www.acme.com"]
paths = ["/", "/", "/", "/blah", "/blah/"]
versions = [1, 0, 1, 1, 1]
names = ["foo", "spam", "foo", "foo", "bang"]
domains = ["blah.spam.org", "www.acme.com", "www.acme.com",
"www.acme.com", ".sol.no"]
paths = ["/", "/blah", "/blah/", "/", "/"]
for i in range(4):
i = 0