mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-04 17:31:10 +08:00
10 lines
188 B
Python
10 lines
188 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s
|
|
# RUN: %python %s
|
|
# REQUIRES: exceptions
|
|
|
|
[x, y] = [1, 2]
|
|
assert (x, y) == (1, 2)
|
|
|
|
lst = [1, 2, 3]
|
|
assert [x*x for x in lst] == [1, 4, 9]
|