micropython/tests/basics
Damien George 2af921fb51 tests: Add tests for op special meths, ubinascii, complex. 2015-03-02 12:47:44 +00:00
..
0prelim.py
andor.py py: Fix 2 bugs in native emitter: jump_or_pop and stack settling. 2014-08-29 20:05:32 +01:00
array1.py
array_add.py py: Implement +, += and .extend for bytearray and array objs. 2014-11-30 00:00:55 +00:00
array_construct.py tests: Separate out test cases that rely on float support to float/ dir. 2015-01-08 15:41:37 +00:00
break.py
builtin_bin.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
builtin_callable.py py: Fix builtin callable so it checks user-defined instances correctly. 2014-11-03 16:09:39 +00:00
builtin_compile.py tests: Get builtin_compile to skin properly on pyboard. 2014-10-26 15:38:28 +00:00
builtin_ellipsis.py tests: Add some tests to improve coverage. 2015-01-29 14:56:09 +00:00
builtin_eval.py py: Make compiler return a proper exception on SyntaxError. 2014-10-05 19:01:34 +01:00
builtin_eval_error.py py: Make compiler return a proper exception on SyntaxError. 2014-10-05 19:01:34 +01:00
builtin_hash.py tests: Add some tests to improve coverage. 2015-01-29 00:44:11 +00:00
builtin_hex.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
builtin_id.py
builtin_len1.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
builtin_minmax.py py: Consolidate min/max functions into one, and add key= argument. 2014-08-24 19:14:09 +01:00
builtin_oct.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
builtin_override.py py: Allow builtins to be overridden. 2014-12-09 16:19:48 +00:00
builtin_range.py py: Improve range: add len, subscr, proper print. 2014-08-12 19:41:18 +01:00
builtin_reversed.py py: Implement __reversed__ slot. 2015-01-21 00:19:42 +00:00
builtin_round.py tests: Split out float test from builtin_round.py. 2014-11-29 14:47:54 +00:00
bytearray1.py objstr: Allow to convert any buffer proto object to str. 2014-10-31 00:03:53 +02:00
bytearray_add.py py: Implement +, += and .extend for bytearray and array objs. 2014-11-30 00:00:55 +00:00
bytearray_construct.py tests: Separate out test cases that rely on float support to float/ dir. 2015-01-08 15:41:37 +00:00
bytearray_longint.py objarray: Make sure that longint works as bytearray size. 2015-01-04 17:19:16 +02:00
bytearray_slice_assign.py tests: Add test for array slice assignment. 2015-02-27 22:17:24 +02:00
bytes.py tests: Add testcase for bytes() on values in range 128-255. 2015-01-28 22:29:51 +02:00
bytes_add.py py: Allow +, in, and compare ops between bytes and bytearray/array. 2014-11-05 16:30:34 +00:00
bytes_compare.py
bytes_compare2.py py: Allow +, in, and compare ops between bytes and bytearray/array. 2014-11-05 16:30:34 +00:00
bytes_construct.py objstr: Fix bytes creation from array of long ints. 2015-02-09 12:11:49 +08:00
bytes_count.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
bytes_find.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
bytes_gen.py tests: Fix uctypes tests to run on 64bit arch; enable more native tests. 2014-09-23 14:15:45 +00:00
bytes_large.py py: Never intern data of large string/bytes object; add relevant tests. 2015-01-13 16:21:23 +00:00
bytes_mult.py py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
bytes_partition.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
bytes_replace.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
bytes_split.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
bytes_strip.py py: Make bytes objs work with more str methods; add tests. 2014-12-24 20:28:30 +00:00
class1.py
class2.py
class3.py
class_binop.py py: Add dispatch for user defined ==, >, <=, >=. 2014-08-26 09:31:26 +01:00
class_call.py
class_contains.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
class_emptybases.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
class_getattr.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
class_inherit1.py
class_inherit_mul.py
class_instance_override.py tests: Add test for when instance member overrides class member. 2015-01-08 17:48:44 +00:00
class_item.py
class_new.py
class_number.py
class_staticclassmethod.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
class_store.py
class_store_class.py py: Use sequence of strings for named tuple initialization 2015-01-01 14:53:23 +02:00
class_str.py
class_super.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
class_super_object.py
closure1.py
closure2.py
closure_defargs.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
compare_multi.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
comprehension1.py
containment.py py: Make native emitter handle multi-compare and not/is not/not in ops. 2014-09-23 14:15:45 +00:00
continue.py
del_attr.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
del_deref.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
del_global.py tests: Add some tests to improve coverage. 2015-01-29 00:44:11 +00:00
del_local.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
del_name.py tests: Add some tests to improve coverage. 2015-01-29 00:44:11 +00:00
del_subscr.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
dict1.py
dict2.py tests: Add tests for op special meths, ubinascii, complex. 2015-03-02 12:47:44 +00:00
dict_clear.py
dict_construct.py
dict_copy.py
dict_del.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
dict_from_iter.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
dict_fromkeys.py
dict_get.py
dict_intern.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
dict_iterator.py
dict_pop.py
dict_popitem.py
dict_setdefault.py
dict_specialmeth.py tests: Add tests for op special meths, ubinascii, complex. 2015-03-02 12:47:44 +00:00
dict_update.py
dict_views.py
enumerate.py
equal.py
equal_class.py py: Implement fallback for equality check for all types. 2015-01-11 15:13:18 +00:00
except_match_tuple.py tests: Add test for exception matching of a tuple of exceptions. 2014-09-25 15:49:26 +01:00
exception1.py
exceptpoly.py py: Remove unused and unneeded SystemError exception. 2014-10-22 19:42:55 +01:00
exec1.py
filter.py
floordivide.py
for1.py
for2.py
for3.py py: Fix optimised for-loop compiler so it follows proper semantics. 2014-12-12 17:19:56 +00:00
for_break.py
for_return.py
frozenset1.py
frozenset_add.py
frozenset_binop.py
frozenset_copy.py
frozenset_difference.py
fun1.py
fun2.py
fun3.py
fun_annotations.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_calldblstar.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_callstar.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_callstardblstar.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_defargs.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_defargs2.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_kwargs.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_kwonly.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_kwonlydef.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_kwvarargs.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
fun_largestate.py tests: Add some tests to improve coverage. 2015-01-29 14:56:09 +00:00
fun_varargs.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_close.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_ducktype.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_exc.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_iter.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_send.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
gen_yield_from_throw.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
generator1.py
generator2.py
generator_args.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
generator_close.py
generator_closure.py objclosure: Fix printing of generator closures. 2014-10-16 00:14:01 +03:00
generator_exc.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
generator_return.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
generator_send.py
getattr.py
getattr1.py
getitem.py
globals_del.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
hasattr1.py
ifcond.py py: Add more compiler optimisations for constant if/while conditions. 2014-10-17 17:57:33 +00:00
int1.py py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
int_big_and.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_big_div.py py: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch. 2014-09-06 17:15:34 +01:00
int_big_lshift.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_big_mod.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_big_mul.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_big_zeroone.py py: Fix comparison of minus-zero long int. 2015-01-27 17:47:38 +00:00
int_bytes.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_divmod.py py: Fix smallint modulo with negative arguments. 2014-10-22 23:05:50 +01:00
int_divzero.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_long.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
int_mpz.py py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
int_small.py tests: Add some tests to improve coverage. 2015-01-29 00:44:11 +00:00
is_isnot.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
iter0.py py: Simplify and remove redundant code for __iter__ method lookup. 2015-02-15 01:10:13 +00:00
iter1.py py: Simplify and remove redundant code for __iter__ method lookup. 2015-02-15 01:10:13 +00:00
iter2.py
iter_of_iter.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
lambda1.py
list1.py
list_clear.py
list_compare.py
list_copy.py
list_count.py
list_index.py
list_insert.py
list_mult.py py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
list_pop.py
list_remove.py
list_reverse.py
list_slice.py tests: Add some tests to improve coverage. 2015-01-29 14:56:09 +00:00
list_slice_3arg.py
list_slice_assign.py
list_slice_assign_grow.py
list_sort.py py: Make list.sort keep stack usage within O(log(N)) bound. 2015-02-02 15:14:22 +00:00
list_sum.py
map.py
memoryerror.py
memoryerror.py.exp
memoryview1.py py: Add builtin memoryview object (mostly using array code). 2014-10-23 13:34:35 +01:00
memoryview_gc.py py: Fix memoryview referencing so it retains ptr to original buffer. 2014-10-26 13:20:50 +00:00
namedtuple1.py py: Allow keyword arguments for namedtuple 2015-01-01 14:53:23 +02:00
object_new.py
print.py
property.py
seq_unpack.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
set1.py
set_add.py
set_binop.py
set_clear.py
set_copy.py
set_difference.py
set_discard.py
set_intersection.py
set_isdisjoint.py
set_isfooset.py
set_iter.py
set_pop.py
set_remove.py
set_specialmeth.py tests: Add tests for op special meths, ubinascii, complex. 2015-03-02 12:47:44 +00:00
set_symmetric_difference.py
set_union.py
set_update.py
setattr1.py py: Add setattr builtin. 2015-02-14 23:35:00 +00:00
slots_bool_len.py
sorted.py
string1.py
string_compare.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_count.py
string_cr_conversion.py py: Convert CR to LF and CR LF to LF in lexer. 2015-01-30 00:27:46 +00:00
string_crlf_conversion.py py: Convert CR to LF and CR LF to LF in lexer. 2015-01-30 00:27:46 +00:00
string_endswith.py
string_escape.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_find.py
string_format.py objstr: Implement kwargs support for str.format(). 2015-01-04 00:26:31 +02:00
string_format_modulo.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_index.py
string_istest.py
string_join.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_large.py py: Never intern data of large string/bytes object; add relevant tests. 2015-01-13 16:21:23 +00:00
string_mult.py py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
string_partition.py
string_replace.py
string_repr.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_rfind.py
string_rindex.py
string_rpartition.py
string_rsplit.py
string_slice.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
string_split.py
string_startswith.py
string_strip.py
string_upperlow.py
struct1.py py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 2014-12-05 23:13:52 +00:00
subclass_classmethod.py
subclass_native1.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native2_list.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native2_tuple.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native3.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native4.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native5.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
subclass_native_buffer.py py: Allow subclass of native object to delegate to the native buffer_p. 2015-02-09 15:08:00 +00:00
subclass_native_cmp.py
subclass_native_specmeth.py
true_value.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try1.py
try2.py
try3.py
try4.py
try_as_var.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try_finally1.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try_finally_loops.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try_finally_return.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try_reraise.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
try_reraise2.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
tuple1.py
tuple_compare.py
tuple_count.py
tuple_index.py
tuple_mult.py py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
types1.py
types2.py
unary_op.py tests: Add some tests to improve coverage. 2015-01-29 00:44:11 +00:00
unboundlocal.py
unpack1.py
while1.py
while_cond.py py: Add more compiler optimisations for constant if/while conditions. 2014-10-17 17:57:33 +00:00
while_nest_exc.py tests: Add test for nested while with exc and break. 2014-10-17 17:28:25 +00:00
with1.py
with_break.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
with_continue.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
with_return.py tests: Rename test scripts, changing - to _ for consistency. 2014-07-05 06:14:29 +01:00
zip.py