mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Replace list of constants with tuples of constants.
This commit is contained in:
parent
07ead17318
commit
dbecd93b72
11 changed files with 29 additions and 29 deletions
|
@ -982,11 +982,11 @@ def test():
|
|||
context = mh.getcontext()
|
||||
f = mh.openfolder(context)
|
||||
do('f.getcurrent()')
|
||||
for seq in ['first', 'last', 'cur', '.', 'prev', 'next',
|
||||
for seq in ('first', 'last', 'cur', '.', 'prev', 'next',
|
||||
'first:3', 'last:3', 'cur:3', 'cur:-3',
|
||||
'prev:3', 'next:3',
|
||||
'1:3', '1:-3', '100:3', '100:-3', '10000:3', '10000:-3',
|
||||
'all']:
|
||||
'all'):
|
||||
try:
|
||||
do('f.parsesequence(%r)' % (seq,))
|
||||
except Error, msg:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue