[test] `traversal`: Fix morsel tests for Python 3.14 (#13471)

Authored by: Grub4K
pull/13195/head^2
Simon Sawicki 1 month ago committed by GitHub
parent 1722c55400
commit 73bf102116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -416,18 +416,8 @@ class TestTraversal:
'`any` should allow further branching'
def test_traversal_morsel(self):
values = {
'expires': 'a',
'path': 'b',
'comment': 'c',
'domain': 'd',
'max-age': 'e',
'secure': 'f',
'httponly': 'g',
'version': 'h',
'samesite': 'i',
}
morsel = http.cookies.Morsel()
values = dict(zip(morsel, 'abcdefghijklmnop'))
morsel.set('item_key', 'item_value', 'coded_value')
morsel.update(values)
values['key'] = 'item_key'

Loading…
Cancel
Save