artiq/lit-test/compiler/integration/attribute.py
whitequark 20f5f8217d Make sure tests pass both on ARTIQ Python and CPython.
In some cases (the `is` operator and wraparound arithmetics)
the tests will only pass on ARTIQ Python. These are conditionally
commented out.
2015-07-23 08:09:25 +03:00

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