aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-01-12list: Add extend() methods and += operator.Paul Sokolovsky
2014-01-11Implemented support for `in` and `not in` operators.John R. Lenton
2014-01-10Merge pull request #136 from pfalcon/for-range-downtoDamien George
compile_for_stmt_optimised_range(): Properly handle negative & unknown s...
2014-01-10Merge pull request #135 from pfalcon/simple-raiseDamien George
Crude attempt to implement RAISE_VARARGS (with args=1 so far only).
2014-01-10Merge pull request #134 from pfalcon/list-mulDamien George
list: Implement list multiplication.
2014-01-11compile_for_stmt_optimised_range(): Properly handle negative & unknown steps.Paul Sokolovsky
If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this).
2014-01-11Crude attempt to implement RAISE_VARARGS (with args=1 so far only).Paul Sokolovsky
2014-01-11list: Implement list multiplication.Paul Sokolovsky
2014-01-10Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are.John R. Lenton
2014-01-10dict views now, refactoring later.John R. Lenton
2014-01-09Merge pull request #121 from pfalcon/count-testcasesDamien George
Count individual testcases when running tests.
2014-01-09py: Implement base class lookup, issubclass, isinstance.Damien George
2014-01-09Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.Damien George
Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes.
2014-01-08Count individual testcases when running tests.Paul Sokolovsky
The idea is simple: each print represents a testcase within a test unit. As we don't have strict rules on which/how many testcase are put into a test file, it's nice to have an idea how many *testcases* we have totally. Would be nice to count how many testcases pass/fail, but that's a bit less trivial.
2014-01-08Add string comparison tests.Paul Sokolovsky
Use computed string to exercise string interning code better.
2014-01-07Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton
2014-01-07forgot to add test for dict.updateJohn R. Lenton
2014-01-07Added dict.setdefaultJohn R. Lenton
2014-01-07Added dict.popitemJohn R. Lenton
2014-01-07implemented dict.popJohn R. Lenton
2014-01-07Added dict.get.John R. Lenton
2014-01-07Added dict.copyJohn R. Lenton
2014-01-07Added dict.clear.John R. Lenton
Added 0 to the list of primes. Funky primes, these.
2014-01-07Added dict iterator.John R. Lenton
2014-01-05Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton
2014-01-05Merge pull request #80 from xyb/striterDamien George
Implements str iterator
2014-01-05Fix qstr in objlist.c; add more tests for list.index.Damien George
list.index fails on an edge case.
2014-01-05Merge pull request #78 from chipaca/list_indexDamien George
Implements list.index. Fixes issue #57.
2014-01-05Add test for basic builtin types.Damien George
2014-01-05Implements str iteratorxyb
2014-01-05Merge remote-tracking branch 'upstream/master' into list_indexJohn R. Lenton
2014-01-04Merge pull request #70 from chipaca/list_countDamien George
Implements list.count. Fixes isue #55.
2014-01-04Unbreak string slice test by just switching to normal (not byte) strings.Paul Sokolovsky
2014-01-04tests/basics requires python3.3Paul Sokolovsky
tests/bytecode/run-tests already uses puthon3.3, so let's just use it here too. Fore reference, errors with python 3.2.3: File "tests/generator1.py", line 12 return None SyntaxError: 'return' with argument inside generator File "tests/list_clear.py", line 3, in <module> x.clear() AttributeError: 'list' object has no attribute 'clear' etc.
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn R. Lenton
2014-01-04Merge pull request #64 from pfalcon/str-slice-range-checkDamien George
str slice: Trim slice indexes to be in range.
2014-01-04Merge pull request #60 from chipaca/list_copyDamien George
Implemented list.copy. Fixes issue #54.
2014-01-04Implements list.reverse; fixes issue #66John R. Lenton
2014-01-04Implements list.remove (in terms of list.index and list.pop).John R. Lenton
Fixes issue #63.
2014-01-04str slice: Trim slice indexes to be in range.Paul Sokolovsky
2014-01-04Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn R. Lenton
2014-01-04Implements list.insert. Fixes issue #61.John R. Lenton
2014-01-04Fix int -> machine_int_t; add print to slice test.Damien George
2014-01-03Merge pull request #59 from pfalcon/sliceDamien George
Implement basic slice object and string slicing
2014-01-04Add test for byte string slicing.Paul Sokolovsky
2014-01-04Implements list.index. Fixes issue #57.John R. Lenton
2014-01-03Implemented list.countJohn R. Lenton
2014-01-03Implemented list.copy. Fixes issue #54.John R. Lenton
2014-01-03Added list.clear. Fixes issue #53.John R. Lenton