micropython/tests/basics
Andrew Scheller 1ff6011abc Modify set tests to print sorted sets directly
instead of creating temporary lists and sorting those in-place
2014-04-07 05:00:03 +01:00
..
pkg
0prelim.py
array1.py
break.py
builtin-callable.py
builtin-len1.py
builtin_id.py
bytearray1.py
bytes.py
class-emptybases.py py: Factor out static/class method unwrapping code; add tests. 2014-04-02 14:13:26 +01:00
class-getattr.py py: Factor out static/class method unwrapping code; add tests. 2014-04-02 14:13:26 +01:00
class-staticclassmethod.py py: Factor out static/class method unwrapping code; add tests. 2014-04-02 14:13:26 +01:00
class-subclass-builtin.py
class-super.py
class1.py
class2.py
class3.py
class_inherit1.py
class_inherit_mul.py tests: Add testcase for multiple inheritance. 2014-03-31 19:46:35 +03:00
class_item.py
class_number.py
class_store.py
class_str.py
closure-defargs.py py: Factor out static/class method unwrapping code; add tests. 2014-04-02 14:13:26 +01:00
closure1.py
closure2.py
comprehension1.py
containment.py
continue.py
dict-del.py py: Fix delete operation on map/dict and set objects. 2014-04-05 17:17:19 +01:00
dict1.py
dict2.py tests/dict2.py: Add combined test for dict(dict) and dict equality. 2014-04-06 21:31:42 +03:00
dict_clear.py tests: Fix few tests which depend on order of elements in dict. 2014-04-06 21:31:42 +03:00
dict_copy.py
dict_fromkeys.py
dict_get.py
dict_iterator.py tests: Fix few tests which depend on order of elements in dict. 2014-04-06 21:31:42 +03:00
dict_pop.py
dict_popitem.py tests: Fix few tests which depend on order of elements in dict. 2014-04-06 21:31:42 +03:00
dict_setdefault.py
dict_update.py tests: Fix few tests which depend on order of elements in dict. 2014-04-06 21:31:42 +03:00
dict_views.py
enumerate.py
eval1.py
exception1.py objexcept: Add "args" exception attribute, as well as StopIteration.value. 2014-03-25 01:42:01 +02:00
exceptpoly.py tests: Remove unimplemented exceptions from testing. 2014-03-29 11:43:00 +00:00
exec1.py
filter.py
float1.py py: Properly implement divide-by-zero handling. 2014-03-31 02:23:57 +03:00
floordivide.py
for1.py
for2.py py: Fix bug in optimised for .. range. 2014-03-31 18:02:22 +01:00
fun-annotations.py
fun-calldblstar.py py: Implement positional and keyword args via * and **. 2014-03-30 21:21:24 +01:00
fun-callstar.py py: Implement positional and keyword args via * and **. 2014-03-30 21:21:24 +01:00
fun-callstardblstar.py py: Implement positional and keyword args via * and **. 2014-03-30 21:21:24 +01:00
fun-defargs.py
fun-defargs2.py
fun-kwargs.py
fun-kwvarargs.py
fun-varargs.py
fun1.py
fun2.py
fun3.py
gen-yield-from-close.py tests: Add testcases for yield from. 2014-03-28 02:50:56 +02:00
gen-yield-from-ducktype.py py: Implement support for generalized generator protocol. 2014-03-30 23:30:16 +03:00
gen-yield-from-exc.py tests: Add testcases for yield from. 2014-03-28 02:50:56 +02:00
gen-yield-from-iter.py py: Implement support for generalized generator protocol. 2014-03-30 23:30:16 +03:00
gen-yield-from-send.py tests: Add testcases for yield from. 2014-03-28 02:50:56 +02:00
gen-yield-from-throw.py tests: Add testcases for yield from. 2014-03-28 02:50:56 +02:00
gen-yield-from.py tests: Add testcases for yield from. 2014-03-28 02:50:56 +02:00
generator-args.py objgenerator: Handle default args to generator functions. 2014-03-30 20:25:19 +03:00
generator-exc.py
generator-return.py objgenerator: Implement return with value and .close() method. 2014-03-26 15:40:58 +02:00
generator1.py
generator2.py
generator_close.py objgenerator: Implement return with value and .close() method. 2014-03-26 15:40:58 +02:00
generator_send.py
getattr.py py: Implement __getattr__. 2014-03-31 22:57:56 +01:00
getattr1.py py: Support 3-arg getattr() builtin (with default value). 2014-04-05 13:34:02 +03:00
getitem.py
globals-del.py tests: Add test to check issue #429. 2014-04-05 18:17:51 +01:00
import-pkg1.py
import-pkg2.py
import1a.py
import1b.py
import2a.py
import3a.py
int-big-lshift.py Add more tests. 2014-04-02 14:23:04 +01:00
int-big-mod.py
int-big-mul.py
int-divzero.py py: Properly implement divide-by-zero handling. 2014-03-31 02:23:57 +03:00
int-long.py
int-mpz.py
int-small.py
int1.py
is-isnot.py
iter-of-iter.py tests: Fix tests with sets to print sorted set. 2014-04-07 00:42:09 +01:00
iter1.py py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 2014-03-26 19:27:58 +00:00
iter2.py py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 2014-03-26 19:27:58 +00:00
lambda1.py
list1.py tests: Add test for implicit float to int conversion (not allowed!) 2014-04-01 13:50:16 +03:00
list_clear.py
list_compare.py
list_copy.py
list_count.py
list_index.py
list_insert.py
list_mult.py
list_pop.py
list_remove.py
list_reverse.py
list_slice.py Add more tests. 2014-04-02 14:23:04 +01:00
list_sort.py
list_sum.py
map.py
math-fun-bool.py
math-fun.py py: Fix regress for printing of floats and #if. 2014-04-02 20:04:15 +01:00
memoryerror.py py: Add m_malloc_fail function to handle memory allocation error. 2014-04-04 10:52:59 +00:00
modulo.py
namedtuple1.py
print.py py: Add support for sep and end keywords in print. 2014-04-02 10:34:44 +01:00
seq-unpack.py
set1.py tests: Fix tests with sets to print sorted set. 2014-04-07 00:42:09 +01:00
set_add.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_binop.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_clear.py
set_copy.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_difference.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_discard.py
set_intersection.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_isdisjoint.py
set_isfooset.py
set_iter.py
set_pop.py
set_remove.py py: Fix delete operation on map/dict and set objects. 2014-04-05 17:17:19 +01:00
set_symmetric_difference.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
set_union.py tests: Fix few tests which depend on order of elements in set. 2014-04-07 02:54:16 +03:00
set_update.py Modify set tests to print sorted sets directly 2014-04-07 05:00:03 +01:00
slots_bool_len.py
sorted.py
string-compare.py
string-escape.py
string-format-modulo.py Allow floating point arguments with %d,i,u,o,x,X formats 2014-04-05 08:26:51 -07:00
string-format.py tests/string-format: Add test for formatting ints with float format. 2014-04-02 20:41:34 +03:00
string-slice.py
string1.py
string_count.py
string_find.py
string_partition.py
string_replace.py py: Fix str.replace for case when arg 0 or 1 is empty string. 2014-04-07 00:39:13 +01:00
string_rfind.py Implement str.rfind() and add tests for it. 2014-03-24 01:00:00 -07:00
string_rpartition.py
string_split.py py: str.split: handle non-default separator. 2014-04-06 11:11:15 +01:00
string_startswith.py
string_strip.py
true-value.py
try-as-var.py py: Implement support for "except Exception as var" clause. 2014-03-23 22:00:04 +02:00
try-finally-loops.py
try-finally-return.py
try-finally1.py
try-module.py
try-reraise.py py: Reraising exception possible only in except block. 2014-03-29 23:18:59 +02:00
try-reraise2.py Add "tracing" to try-reraise2.py test. It now fails. 2014-03-30 00:39:15 +00:00
try1.py
try2.py
try3.py
try4.py
tuple1.py
tuple_compare.py
tuple_count.py
tuple_index.py
tuple_mult.py
types1.py rt_load_method(): Add missing qstr_str() when getting type name. 2014-03-25 01:39:10 +02:00
types2.py objtype: Add equality test for type types. 2014-04-05 13:10:56 +03:00
unary_op.py
while1.py
with-break.py tests: Add "with" statement testcases. 2014-03-29 04:39:31 +02:00
with-continue.py tests: Add "with" statement testcases. 2014-03-29 04:39:31 +02:00
with-return.py tests: Add "with" statement testcases. 2014-03-29 04:39:31 +02:00
with1.py tests: Add "with" statement testcases. 2014-03-29 04:39:31 +02:00
zip.py