8 lines
122 B
Python
8 lines
122 B
Python
|
import sys
|
||
|
import py
|
||
|
|
||
|
def test_enumerate():
|
||
|
l = [0,1,2]
|
||
|
for i,x in py.builtin.enumerate(l):
|
||
|
assert i == x
|