mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-06 17:13:36 +08:00
20f5f8217d
In some cases (the `is` operator and wraparound arithmetics) the tests will only pass on ARTIQ Python. These are conditionally commented out.
8 lines
142 B
Python
8 lines
142 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s
|
|
# RUN: %python %s
|
|
|
|
r = range(10)
|
|
assert r.start == 0
|
|
assert r.stop == 10
|
|
assert r.step == 1
|