forked from M-Labs/artiq
20f5f8217d
In some cases (the `is` operator and wraparound arithmetics) the tests will only pass on ARTIQ Python. These are conditionally commented out.
9 lines
165 B
Python
9 lines
165 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s
|
|
# RUN: %python %s
|
|
|
|
[x, y] = [1, 2]
|
|
assert (x, y) == (1, 2)
|
|
|
|
lst = [1, 2, 3]
|
|
assert [x*x for x in lst] == [1, 4, 9]
|