aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-01-29run-tests can handle segfault.Damien George
2014-01-29Merge branch 'master' of github.com:msiemens/micropython into msiemens-masterDamien George
2014-01-28Rename array test to array1 so it doesn't clash with array module.Damien George
On my machine, 'import array' in CPython tries to load the array test.
2014-01-28Added Windows port (see #233)Markus Siemens
2014-01-28bytearray: Print objects properly.Paul Sokolovsky
2014-01-28Add basic array.array test.Paul Sokolovsky
2014-01-27Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-27py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int.Damien George
2014-01-27long int: Implement more operations.Paul Sokolovsky
2014-01-27gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen.Paul Sokolovsky
Otherwise, some generator statements still may be spuriously executed on subsequent calls to next()/send().
2014-01-26Implement send() method for generators.Paul Sokolovsky
2014-01-25py: Implement iterator support for object that has __getitem__.Damien George
Addresses Issue #203.
2014-01-24Add basic implementation of bytes type, piggybacking on str.Paul Sokolovsky
This reuses as much str implementation as possible, from this we can make them more separate as needed.
2014-01-23mp_obj_is_callable(): Only object types can be callable.Paul Sokolovsky
Fixes segfault on callable("string").
2014-01-23Implement simplest case of str.startswith().Paul Sokolovsky
2014-01-22Implement octal and hex escapes in strings.Paul Sokolovsky
2014-01-21py: Implement break and continue byte codes, and add tests.Damien George
Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible).
2014-01-21Add bytearray basic tests.Paul Sokolovsky
2014-01-21run-tests: Allow to run tests selectively via command line.Paul Sokolovsky
2014-01-21Implement str.split(None).Paul Sokolovsky
Note that splitting by explicit string is not implemented so far.
2014-01-21str: Implement proper string (instead of byte string) indexing.Paul Sokolovsky
Also, support negative indexes.
2014-01-21Implement string multiplication.Paul Sokolovsky
2014-01-20unix io.FileIO: Add iteration support.Paul Sokolovsky
A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
2014-01-20Rename unix binary to 'micropython'.Damien George
2014-01-20unix: Implement sys.argv.Paul Sokolovsky
2014-01-19Add README for tests/.Paul Sokolovsky
2014-01-19Add directory for I/O tests with basic test for file methods.Paul Sokolovsky
2014-01-19Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky
2014-01-19Tiny optimisation in objlist.c; a new test for inheritance.Damien George
2014-01-18Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-18Improve method lookup in mp_obj_class_lookup.Damien George
Now searches both locals_dict and methods. Partly addresses Issue #145.
2014-01-18Add testcase for subclassing builtin type and calling native method (broken).Paul Sokolovsky
2014-01-18Implement framework for class-defined built-in operators.Damien George
Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others.
2014-01-16Add empty (false) value testing for strings, tuples, lists, dicts.Paul Sokolovsky
2014-01-16str.format: Don't assume that '}' immediately follows '{', skip insides.Paul Sokolovsky
That at least makes stuff like "{:x}".format(1) to produce not completely broken output.
2014-01-15Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2intDamien George
Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile
2014-01-15Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George
Conflicts: tests/basics/tests/exception1.py
2014-01-15Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtinsDamien George
Added some checks for number of arguments. Conflicts: py/mpqstrraw.h
2014-01-15Implement eval.Damien George
2014-01-15Implement repr.Damien George
2014-01-15add more tests and remove debug codexyb
2014-01-15int() test passedxyb
2014-01-15added filter()John R. Lenton
2014-01-15Added mapJohn R. Lenton
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-14Merge remote-tracking branch 'upstream/master' into builtinsJohn R. Lenton
2014-01-14added enumerate()John R. Lenton
2014-01-14Merge pull request #161 from pfalcon/exc-more-pythonicDamien George
Move towards Python-compliant interface of exceptions
2014-01-14Merge pull request #142 from chipaca/containmentDamien George
Implemented support for `in` and `not in` operators.
2014-01-14Merge pull request #165 from chipaca/builtinsDamien George
added zip()