You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Paul Sokolovsky e276753b45 tests: Add testcases for catching user Exception subclasses. 11 years ago
..
0prelim.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
array1.py Rename array test to array1 so it doesn't clash with array module. 11 years ago
break.py py: Implement break and continue byte codes, and add tests. 11 years ago
builtin-bin.py py: Add builtin functions bin and oct, and some tests for them. 11 years ago
builtin-callable.py mp_obj_is_callable(): Only object types can be callable. 11 years ago
builtin-hex.py py: Add builtin functions bin and oct, and some tests for them. 11 years ago
builtin-len1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
builtin-minmax.py Fix the builtin min() and max() functions (and add tests). 11 years ago
builtin-oct.py py: Add builtin functions bin and oct, and some tests for them. 11 years ago
builtin_id.py Fix unstable case in builtin_id.py test. 11 years ago
bytearray1.py objarray: Implement slice subscription. 11 years ago
bytes.py py: Make 'bytes' be a proper type, support standard constructor args. 11 years ago
class-emptybases.py py: Factor out static/class method unwrapping code; add tests. 11 years ago
class-getattr.py py: Factor out static/class method unwrapping code; add tests. 11 years ago
class-staticclassmethod.py py: Factor out static/class method unwrapping code; add tests. 11 years ago
class-subclass-builtin.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class-super.py test/class-super: Expose super() breakage. 11 years ago
class1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class2.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class3.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class_call.py py: Support instance __call__ method. 11 years ago
class_inherit1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class_inherit_mul.py tests: Add testcase for multiple inheritance. 11 years ago
class_item.py py: Implement __delitem__ method for classes. 11 years ago
class_number.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class_store.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
class_str.py Implement support for __str__ and __repr__ special methods in classes. 11 years ago
closure-defargs.py py: Factor out static/class method unwrapping code; add tests. 11 years ago
closure1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
closure2.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
compare-multi.py tests: Add test for multi-comparison. 11 years ago
comprehension1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
containment.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
continue.py py: Implement break and continue byte codes, and add tests. 11 years ago
del-attr.py tests: Oops: fix del-attr. 11 years ago
del-deref.py py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
del-local.py py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
del-name.py py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
del-subscr.py py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
dict-del.py py: Fix delete operation on map/dict and set objects. 11 years ago
dict-from-iter.py py: Check that sequence has 2 elements for dict iterable constructor. 11 years ago
dict-intern.py py: Fix bug in map lookup of interned string vs non-interned. 11 years ago
dict1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict2.py objdict: Implement __getitem__ method. 11 years ago
dict_clear.py tests: Fix few tests which depend on order of elements in dict. 11 years ago
dict_copy.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict_fromkeys.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict_get.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict_iterator.py tests: Fix few tests which depend on order of elements in dict. 11 years ago
dict_pop.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict_popitem.py tests: Fix few tests which depend on order of elements in dict. 11 years ago
dict_setdefault.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
dict_update.py tests: Fix few tests which depend on order of elements in dict. 11 years ago
dict_views.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
enumerate.py basics/enumerate.py: Don't turn enumerate test into heap test. 11 years ago
equal.py py: Remove useless implementations of NOT_EQUAL in binary_op's. 11 years ago
eval1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
exception1.py objexcept: Add "args" exception attribute, as well as StopIteration.value. 11 years ago
exceptpoly.py tests: Remove unimplemented exceptions from testing. 11 years ago
exec1.py Implement full arg handling for exec(). 11 years ago
filter.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
floordivide.py Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago
for1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
for2.py py: Fix bug in optimised for .. range. 11 years ago
fun-annotations.py Clean up handling of function return type annotation. 11 years ago
fun-calldblstar.py py: Implement positional and keyword args via * and **. 11 years ago
fun-callstar.py tests: Remove print('flush') from 2 tests, since stmhal now works. 11 years ago
fun-callstardblstar.py py: Implement positional and keyword args via * and **. 11 years ago
fun-defargs.py tests: Remove print('flush') from 2 tests, since stmhal now works. 11 years ago
fun-defargs2.py objfun: Fix default arguments filling loop, was broken in presense of kwargs. 11 years ago
fun-kwargs.py Support passing positional args as keywords to bytecode functions. 11 years ago
fun-kwonly.py py: Implement keyword-only args. 11 years ago
fun-kwvarargs.py Rename fun-kwargs.py -> fun-kwvarargs.py to free up slot for simple kw test. 11 years ago
fun-varargs.py py: Implement *vargs support. 11 years ago
fun1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
fun2.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
fun3.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
gen-yield-from-close.py tests: Add testcases for yield from. 11 years ago
gen-yield-from-ducktype.py py: Implement support for generalized generator protocol. 11 years ago
gen-yield-from-exc.py tests: Add testcases for yield from. 11 years ago
gen-yield-from-iter.py py: Implement support for generalized generator protocol. 11 years ago
gen-yield-from-send.py tests: Add testcases for yield from. 11 years ago
gen-yield-from-throw.py tests: Add testcases for yield from. 11 years ago
gen-yield-from.py tests: Add testcases for yield from. 11 years ago
generator-args.py objgenerator: Handle default args to generator functions. 11 years ago
generator-closure.py py: Generators can have their locals closed over. 11 years ago
generator-exc.py objgenerator: Implement .throw() method to throw exceptions into generator. 11 years ago
generator-return.py objgenerator: Implement return with value and .close() method. 11 years ago
generator1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
generator2.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
generator_close.py objgenerator: Implement return with value and .close() method. 11 years ago
generator_send.py gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen. 11 years ago
getattr.py py: Implement __getattr__. 11 years ago
getattr1.py py: Support 3-arg getattr() builtin (with default value). 11 years ago
getitem.py py: Implement iterator support for object that has __getitem__. 11 years ago
globals-del.py tests: Add test to check issue #429. 11 years ago
int-big-lshift.py Add more tests. 11 years ago
int-big-mod.py py: Add mpz modulo operation. 11 years ago
int-big-mul.py Add more tests for multi-precision integers. 11 years ago
int-bytes.py objint: Implement int.from_bytes() class method and .to_bytes() method. 11 years ago
int-divzero.py tests: Split out those tests requiring float and import. 11 years ago
int-long.py objint_longlong: Add regression test for improper inplace op implementation. 11 years ago
int-mpz.py py: Implement bit-shift and not operations for mpz. 11 years ago
int-small.py parse: Refactor parse node encoding to support full range of small ints. 11 years ago
int1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
is-isnot.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
iter-of-iter.py tests: Fix tests with sets to print sorted set. 11 years ago
iter1.py py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
iter2.py py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
lambda1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list1.py tests: Split out those tests requiring float and import. 11 years ago
list_clear.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_compare.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_copy.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_count.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_index.py Implement str.count and add tests for it. 11 years ago
list_insert.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_mult.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_pop.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_remove.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_reverse.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
list_slice.py Add more tests. 11 years ago
list_sort.py Add tests for sorted() function 11 years ago
list_sum.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
map.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
memoryerror.py run-tests can now skip certain tests when run under Travis CI 11 years ago
modulo.py tests: Split out those tests requiring float and import. 11 years ago
namedtuple1.py py: Rename collections module to _collections. 11 years ago
print.py py: Add support for sep and end keywords in print. 11 years ago
property.py tests: Add property test. 11 years ago
seq-unpack.py Add testcase for sequence unpacking. 11 years ago
set1.py tests: Fix tests with sets to print sorted set. 11 years ago
set_add.py Modify set tests to print sorted sets directly 11 years ago
set_binop.py Modify set tests to print sorted sets directly 11 years ago
set_clear.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_copy.py Modify set tests to print sorted sets directly 11 years ago
set_difference.py Modify set tests to print sorted sets directly 11 years ago
set_discard.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_intersection.py Modify set tests to print sorted sets directly 11 years ago
set_isdisjoint.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_isfooset.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_iter.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_pop.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
set_remove.py py: Fix delete operation on map/dict and set objects. 11 years ago
set_symmetric_difference.py Modify set tests to print sorted sets directly 11 years ago
set_union.py tests: Fix few tests which depend on order of elements in set. 11 years ago
set_update.py Modify set tests to print sorted sets directly 11 years ago
slots_bool_len.py py: Improve __bool__ and __len__ dispatch; add slots for them. 11 years ago
sorted.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
string-compare.py Implement str/bytes rich comparisons. 11 years ago
string-escape.py Implement octal and hex escapes in strings. 11 years ago
string-format-modulo.py tests: Split out those tests requiring float and import. 11 years ago
string-format.py tests: Split out those tests requiring float and import. 11 years ago
string-join.py py: str.join can now take arbitrary iterable as argument. 11 years ago
string-repr.py Display \r and \t escape codes in string repr 11 years ago
string-slice.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
string1.py str: Implement proper string (instead of byte string) indexing. 11 years ago
string_count.py py: In string.count, handle case of zero-length needle. 11 years ago
string_find.py Implement str.count and add tests for it. 11 years ago
string_index.py py: Implement str.[r]index() and add tests for them. 11 years ago
string_partition.py Implement str.partition and add tests for it. 11 years ago
string_replace.py py: Fix str.replace for case when arg 0 or 1 is empty string. 11 years ago
string_rfind.py Implement str.rfind() and add tests for it. 11 years ago
string_rindex.py py: Implement str.[r]index() and add tests for them. 11 years ago
string_rpartition.py Implement str.rpartition and add tests for it. 11 years ago
string_split.py py: str.split: handle non-default separator. 11 years ago
string_startswith.py Implement simplest case of str.startswith(). 11 years ago
string_strip.py objstr: Implement .lstrip() & .rstrip(). 11 years ago
struct1.py modstruct: Initial implementation of struct.pack(). 11 years ago
subclass-native1.py tests: Add basic tests for subclassing native types and using special methods. 11 years ago
subclass-native2.py tests: Add basic tests for subclassing native types and using special methods. 11 years ago
subclass-native3.py tests: Add testcases for catching user Exception subclasses. 11 years ago
subclass-native4.py tests: Add test for calling inherited native method on subclass. 11 years ago
true-value.py tests: Split out those tests requiring float and import. 11 years ago
try-as-var.py py: Implement support for "except Exception as var" clause. 11 years ago
try-finally-loops.py Add more finally + break/continue testcases. 11 years ago
try-finally-return.py Add additional testcase for finally/return. 11 years ago
try-finally1.py Add basic try-finally testcase. 11 years ago
try-reraise.py py: Reraising exception possible only in except block. 11 years ago
try-reraise2.py Add "tracing" to try-reraise2.py test. It now fails. 11 years ago
try1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
try2.py Add testcase with exception handler spread across functions. 11 years ago
try3.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
try4.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
tuple1.py Implement tuple addition. 11 years ago
tuple_compare.py sequence: Fix glaring bug in sequence comparison. 11 years ago
tuple_count.py Factor out mp_seq_count_obj() and implement tuple.count(). 11 years ago
tuple_index.py Implement tuple.index(). 11 years ago
tuple_mult.py Implement tuple multiplication. 11 years ago
types1.py tests: Split out those tests requiring float and import. 11 years ago
types2.py tests: Split out those tests requiring float and import. 11 years ago
unary_op.py py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int. 11 years ago
unboundlocal.py py: Make all LOAD_FAST ops check for unbound local. 11 years ago
unpack1.py py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
while1.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago
with-break.py tests: Add "with" statement testcases. 11 years ago
with-continue.py tests: Add "with" statement testcases. 11 years ago
with-return.py tests: Add "with" statement testcases. 11 years ago
with1.py tests: Make tests pass on pyboard. 11 years ago
zip.py Move tests in basic/tests/ up one level preparating to multiple test dirs. 11 years ago