nac3standalone: fix broken test
previously this test unexpectedly passed because it is a slice assignment to extend the list, which is valid in CPython and hence in interpret_demo, and which also happened to give the same output in nac3 by memmove the elements in the list of bool
This commit is contained in:
parent
c29cbf6ddd
commit
86ce513cb5
@ -229,7 +229,7 @@ def list_slice_assignment():
|
|||||||
bl5[3:-5] = []
|
bl5[3:-5] = []
|
||||||
output_int32_list([int32(b) for b in bl5])
|
output_int32_list([int32(b) for b in bl5])
|
||||||
bl6 = bl[:]
|
bl6 = bl[:]
|
||||||
bl6[3:-5] = [True, False, False]
|
bl6[3:-5] = [True, False]
|
||||||
output_int32_list([int32(b) for b in bl6])
|
output_int32_list([int32(b) for b in bl6])
|
||||||
bl7 = bl[:]
|
bl7 = bl[:]
|
||||||
bl7[:-2] = [False]
|
bl7[:-2] = [False]
|
||||||
|
Loading…
Reference in New Issue
Block a user