Skip to content

Commit

Permalink
T442, not T441.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Oct 29, 2009
1 parent 1591309 commit a841345
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/run/enumerate_T316.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ def go_py_enumerate():
for i,k in enumerate(range(1,5)):
print i, k

#T441 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
#T442 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
def go_c_enumerate():
cdef int i,k
for i,k in enumerate(range(1,5)):
print i, k

#T441 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
#T442 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
def go_c_enumerate_step():
cdef int i,k
for i,k in enumerate(range(1,7,2)):
Expand Down Expand Up @@ -114,7 +114,7 @@ def py_enumerate_continue(*t):
continue
print u"::", i, k

# T441 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
# T442 @cython.test_fail_if_path_exists("//SimpleCallNode//NameNode[@name = 'enumerate']")
def empty_c_enumerate():
cdef int i = 55, k = 99
for i,k in enumerate(range(0)):
Expand All @@ -131,13 +131,13 @@ def multi_enumerate():
for a,(b,(c,d)) in enumerate(enumerate(enumerate(range(1,5)))):
print a,b,c,d

# T441 @cython.test_fail_if_path_exists("//SimpleCallNode")
# T442 @cython.test_fail_if_path_exists("//SimpleCallNode")
def multi_c_enumerate():
cdef int a,b,c,d
for a,(b,(c,d)) in enumerate(enumerate(enumerate(range(1,5)))):
print a,b,c,d

# T441
# T442 @cython.test_fail_if_path_exists("//SimpleCallNode")
def convert_target_enumerate(L):
"""
>>> convert_target_enumerate([2,3,5])
Expand Down

0 comments on commit a841345

Please sign in to comment.