mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Make reindent.py happy (convert everything to 4-space indents!).
This commit is contained in:
parent
2e6d25c5bb
commit
004d5e6880
70 changed files with 1215 additions and 1247 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
# Simple test suite for Cookie.py
|
||||
|
||||
import Cookie
|
||||
|
@ -8,8 +7,8 @@ import Cookie
|
|||
cases = [
|
||||
('chips=ahoy; vienna=finger', {'chips':'ahoy', 'vienna':'finger'}),
|
||||
('keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;";',
|
||||
{'keebler' : 'E=mc2; L="Loves"; fudge=\012;'}),
|
||||
]
|
||||
{'keebler' : 'E=mc2; L="Loves"; fudge=\012;'}),
|
||||
]
|
||||
|
||||
for data, dict in cases:
|
||||
C = Cookie.SimpleCookie() ; C.load(data)
|
||||
|
@ -37,4 +36,3 @@ C.load('Customer="WILE_E_COYOTE"; Version="1"; Path="/acme"')
|
|||
assert C['Customer'].value == 'WILE_E_COYOTE'
|
||||
assert C['Customer']['version'] == '1'
|
||||
assert C['Customer']['path'] == '/acme'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue