Files
RustPython/tests
Daniel Watkins 086dc127f2 Handle slice ends greater than sequence length
This is already handled for the string case, so borrow that logic (and
add an explanatory comment where it was borrowed from).
2018-08-08 09:19:04 -04:00
..
2018-07-09 22:06:49 +02:00
2018-07-31 22:11:40 +02:00
2018-07-31 22:11:40 +02:00

Test snippets

This directory contains two sets of test snippets which can be run in Python. The snippets/ directory contains functional tests, and the benchmarks/ directory contains snippets for use in benchmarking RustPython's performance.

Running with CPython + RustPython

One way to run these snippets is by using CPython to do the parsing and compilation to bytecode. When this is done, run the bytecode with rustpython.

Running with RustPython

The other option is to run all snippets with RustPython.