forked from VimPlug/jedi
more tests for next/iter combinations
This commit is contained in:
@@ -26,11 +26,17 @@ for a4, (b4, c4) in (1,("", list)), (1,("", list)):
|
|||||||
|
|
||||||
a = []
|
a = []
|
||||||
for i in [1,'']:
|
for i in [1,'']:
|
||||||
|
#? int() str()
|
||||||
|
i
|
||||||
a += [i]
|
a += [i]
|
||||||
|
|
||||||
#? int() str()
|
#? int() str()
|
||||||
a[0]
|
a[0]
|
||||||
|
|
||||||
|
for i in list([1,'']):
|
||||||
|
#? int() str()
|
||||||
|
i
|
||||||
|
|
||||||
a = []
|
a = []
|
||||||
b = [1.0,'']
|
b = [1.0,'']
|
||||||
for i in b:
|
for i in b:
|
||||||
|
|||||||
@@ -54,3 +54,11 @@ for a in Get():
|
|||||||
b
|
b
|
||||||
#? int() str()
|
#? int() str()
|
||||||
b[0]
|
b[0]
|
||||||
|
|
||||||
|
g = iter(Get())
|
||||||
|
#? int() str()
|
||||||
|
next(g)
|
||||||
|
|
||||||
|
g = iter([1.0])
|
||||||
|
#? float()
|
||||||
|
next(g)
|
||||||
|
|||||||
Reference in New Issue
Block a user