circuitpython/tests
Damien George 8b03d944e2 py: Remove IOError since it's deprecated; use OSError instead.
In CPython IOError (and EnvironmentError) is deprecated and aliased to
OSError.  All modules that used to raise IOError now raise OSError (or a
derived exception).

In Micro Python we never used IOError (except 1 place, incorrectly) and
so don't need to keep it.

See http://legacy.python.org/dev/peps/pep-3151/ for background.
2014-09-30 13:59:30 +00:00
..
basics py: Remove IOError since it's deprecated; use OSError instead. 2014-09-30 13:59:30 +00:00
bench bench: Three ways to process a byte buffer. 2014-06-19 22:27:13 +03:00
bytecode fix README to match contents of run-tests 2014-04-16 20:14:38 +01:00
extmod py: Simplify JSON str printing (while still conforming to JSON spec). 2014-09-25 17:35:56 +01:00
float py: Fix build error when float disabled; add test for divmod. 2014-09-13 19:58:18 +01:00
import py: Implement __file__ attribute for modules. 2014-07-28 21:21:59 +03:00
inlineasm tests: Add inline assembler test for pyboard. 2014-05-07 18:31:14 +01:00
io tests: Add testcase for read by length past EOF. 2014-07-22 00:11:37 +03:00
micropython py: Fix viper store on x86; add tests for viper ptr16. 2014-09-29 21:41:41 +00:00
misc tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm. 2014-09-06 18:38:55 +01:00
pyb tests: Add test for pyb.disable_irq and pyb.enable_irq. 2014-08-25 18:44:10 +01:00
pybnative py: Fix stack access in thumb native emitter. 2014-05-07 23:27:45 +01:00
unicode py: Add stream reading of n unicode chars; unicode support by default. 2014-07-19 18:34:04 +01:00
unix Change allows tests/unix/ffi_float.py to pass on OSX 2014-09-25 16:31:30 +01:00
README tests: Split out those tests requiring float and import. 2014-04-17 16:21:43 +01:00
pyboard.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
run-bench-tests tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
run-tests py: Make native emitter handle multi-compare and not/is not/not in ops. 2014-09-23 14:15:45 +00:00
run-tests-exp.sh test: Add run-tests-exp.sh, script to run testsuite with only sh dependency. 2014-07-13 18:49:56 +03:00

README

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.