circuitpython/tests
Paul Sokolovsky ea9708092e objtuple: Go out of the way to support comparison of subclasses.
Two things are handled here: allow to compare native subtypes of tuple,
e.g. namedtuple (TODO: should compare type too, currently compared
duck-typedly by content). Secondly, allow user sunclasses of tuples
(and its subtypes) be compared either. "Magic" I did previously in
objtype.c covers only one argument (lhs is many), so we're in trouble
when lhs is native type - there's no other option besides handling
rhs in special manner. Fortunately, this patch outlines approach with
fast path for native types.
2014-05-11 03:33:19 +03:00
..
basics objtuple: Go out of the way to support comparison of subclasses. 2014-05-11 03:33:19 +03:00
bench tests/bench: Add testcase for positional/kwargs to enumerate(). 2014-05-07 22:34:06 +03:00
bytecode fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
float Fix the builtin min() and max() functions (and add tests). 2014-05-01 21:21:43 +01:00
import tests: Move gen_context to import tests, because it relies on import. 2014-04-17 23:21:52 +01:00
inlineasm tests: Add inline assembler test for pyboard. 2014-05-07 18:31:14 +01:00
io py, stream: Implement readlines for a stream. 2014-05-03 22:01:32 +01:00
micropython py, compiler: Add basic support for A=const(123). 2014-05-08 15:58:39 +00:00
misc tests: Make rge-sm.py use less memory (integration step increased). 2014-04-04 11:15:54 +00:00
pyb stmhal: Fix setting of RTC: was BCD now BIN encoded. 2014-05-10 11:56:58 +01:00
pybnative py: Fix stack access in thumb native emitter. 2014-05-07 23:27:45 +01:00
pyboard.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
README tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
run-bench-tests tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
run-tests run-tests: Add support for skipping tests. 2014-05-10 16:56:21 +03:00

This directory contains tests for various functionality areas of MicroPython.
To run all stable tests, run "run-tests" script in this directory. Note
that bytecode tests are not yet stable and should be run separately in
"bytecode" subdirectory.

When creating new tests, anything that relies on float support should go in the 
float/ subdirectory.  Anything that relies on import x, where x is not a built-in
module, should go in the import/ subdirectory.