tests: Use range as iterable instead of list comprehension.
So that navite emitter passes (comprehensions use yield which is not yet supported by native emitter).
This commit is contained in:
parent
67c5f89af5
commit
fe3da09fa0
@ -9,8 +9,7 @@ tests = (
|
|||||||
[True, False],
|
[True, False],
|
||||||
[False, False],
|
[False, False],
|
||||||
[True, True],
|
[True, True],
|
||||||
(False for i in range(10)),
|
range(10),
|
||||||
(True for i in range(10)),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for test in tests:
|
for test in tests:
|
||||||
|
@ -6,7 +6,7 @@ tests = (
|
|||||||
[0],
|
[0],
|
||||||
[1],
|
[1],
|
||||||
[0, 1, 2],
|
[0, 1, 2],
|
||||||
(i for i in range(10)),
|
range(10),
|
||||||
)
|
)
|
||||||
|
|
||||||
for test in tests:
|
for test in tests:
|
||||||
|
Loading…
Reference in New Issue
Block a user