..
0prelim.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
andor.py
py: Fix 2 bugs in native emitter: jump_or_pop and stack settling.
10 years ago
array1.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_add.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_construct.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_construct2.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_construct_endian.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_intbig.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_micropython.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
array_micropython.py.exp
tests/basics: Add tests to improve coverage of binary.c.
8 years ago
assign1.py
tests: Add tests for things that are not already tested.
10 years ago
async_await.py
tests: Add 6 tests for async await/for/with.
9 years ago
async_await.py.exp
tests: Add .exp files for async tests, so they can run with Python 3.4.
9 years ago
async_await2.py
tests: Add 6 tests for async await/for/with.
9 years ago
async_await2.py.exp
tests: Add .exp files for async tests, so they can run with Python 3.4.
9 years ago
async_def.py
tests: Improve test coverage of py/compile.c.
8 years ago
async_def.py.exp
tests: Improve test coverage of py/compile.c.
8 years ago
async_for.py
tests: Add 6 tests for async await/for/with.
9 years ago
async_for.py.exp
tests: Add .exp files for async tests, so they can run with Python 3.4.
9 years ago
async_for2.py
tests: Add 6 tests for async await/for/with.
9 years ago
async_for2.py.exp
tests: Add .exp files for async tests, so they can run with Python 3.4.
9 years ago
async_with.py
py/compile: Fix handling of unwinding BaseException in async with.
6 years ago
async_with.py.exp
py/compile: Fix handling of unwinding BaseException in async with.
6 years ago
async_with2.py
py/compile: Fix async-for/async-with to work with simpler exc on stack.
8 years ago
async_with2.py.exp
py/compile: Fix async-for/async-with to work with simpler exc on stack.
8 years ago
async_with_break.py
py/compile: Handle return/break/continue correctly in async with.
6 years ago
async_with_break.py.exp
py/compile: Handle return/break/continue correctly in async with.
6 years ago
async_with_return.py
py/compile: Handle return/break/continue correctly in async with.
6 years ago
async_with_return.py.exp
py/compile: Handle return/break/continue correctly in async with.
6 years ago
attrtuple1.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bool1.py
tests: Add a few tests for bool, bytearray, float to improve coverage.
9 years ago
boundmeth1.py
tests/basics: Add test for assignment of attribute to bound method.
8 years ago
break.py
py: Implement break and continue byte codes, and add tests.
11 years ago
builtin_abs.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_abs_intbig.py
tests/basics: Add tests for edge cases of nan-box's 47-bit small int.
7 years ago
builtin_allany.py
tests: Use range as iterable instead of list comprehension.
10 years ago
builtin_bin.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_bin_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_callable.py
py: Fix builtin callable so it checks user-defined instances correctly.
10 years ago
builtin_chr.py
tests: Add missing tests for builtins, and many other things.
10 years ago
builtin_compile.py
tests: Fix few test for proper "skipped" detection with qemu-arm's tinytest.
7 years ago
builtin_delattr.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_dir.py
py/modbuiltins: Simplify and generalise dir() by probing qstrs.
7 years ago
builtin_divmod.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_divmod_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_ellipsis.py
tests: Add some tests to improve coverage.
10 years ago
builtin_enumerate.py
tests/basics/builtin_enumerate: Add test for many pos args to enumerate.
7 years ago
builtin_eval.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
builtin_eval_error.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
builtin_exec.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
builtin_filter.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
builtin_getattr.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
builtin_hasattr.py
py/modbuiltins: Make built-in hasattr work properly for user types.
7 years ago
builtin_hash.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_hash_gen.py
py/objgenerator: Allow to hash generators and generator instances.
7 years ago
builtin_hash_intbig.py
tests: Add some tests for bigint hash, float hash and float parsing.
7 years ago
builtin_help.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_help.py.exp
tests: Add test for builtin help function.
8 years ago
builtin_hex.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_hex_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_id.py
Fix unstable case in builtin_id.py test.
11 years ago
builtin_issubclass.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
builtin_len1.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
builtin_locals.py
tests/basics/builtin_locals: Add test for using locals() in class body.
7 years ago
builtin_map.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
builtin_minmax.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_next_arg2.py
py: Add optional support for 2-argument version of built-in next().
6 years ago
builtin_oct.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_oct_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
builtin_ord.py
tests: Add tests to improve coverage of objstr.c.
9 years ago
builtin_override.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_pow.py
tests: Split tests for 2- and 3-arg pow().
8 years ago
builtin_pow3.py
tests/basics/builtin_pow3: Add tests for edge cases of pow3.
7 years ago
builtin_pow3_intbig.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_print.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
builtin_property.py
py/objtype: Remove TODO comment about needing to check for property.
7 years ago
builtin_property_inherit.py
py/objtype: Optimise instance get/set/del by skipping special accessors.
7 years ago
builtin_range.py
tests/basics/builtin_range: Add test for corner case of range slicing.
7 years ago
builtin_range_attrs.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_range_binop.py
py/objrange: Implement (in)equality comparison between range objects.
7 years ago
builtin_reversed.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_round.py
modbuiltins: Implement round() to precision.
9 years ago
builtin_round_int.py
py/modbuiltins: Add support for rounding integers.
7 years ago
builtin_round_intbig.py
py/modbuiltins: Add support for rounding integers.
7 years ago
builtin_setattr.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
builtin_slice.py
tests/basics/builtin_slice: Add test for "slice" builtin name.
8 years ago
builtin_sorted.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
builtin_sum.py
tests: Use range as iterable instead of list comprehension.
10 years ago
builtin_type.py
py/objtype: Fix assertion failures in mp_obj_new_type by checking types.
7 years ago
builtin_zip.py
tests/basics: Rename remaining tests that are for built-in functions.
7 years ago
bytearray1.py
tests/bytearray1: Add testcases for "in" operator.
9 years ago
bytearray_add.py
tests: Add a few tests for bool, bytearray, float to improve coverage.
9 years ago
bytearray_append.py
py/objarray: Fix array.append so it doesn't extend if append fails.
9 years ago
bytearray_construct.py
py/objarray: bytearray: Allow 2nd/3rd arg to constructor.
6 years ago
bytearray_construct_array.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytearray_construct_endian.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytearray_decode.py
py/objarray: Add decode method to bytearray.
6 years ago
bytearray_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
bytearray_slice_assign.py
all: Use the name MicroPython consistently in comments
7 years ago
bytes.py
py/objstr: Protect against creating bytes(n) with n negative.
7 years ago
bytes_add.py
tests/basics/bytes_add: Add tests for optimised bytes addition.
8 years ago
bytes_add_array.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_add_endian.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_compare.py
sequence: Fix yet another case of improper sequence comparison.
11 years ago
bytes_compare2.py
tests/basic: Make various tests skippable.
8 years ago
bytes_compare3.py
tests/bytes_compare: Rework test for bytes <-> str comparison.
8 years ago
bytes_compare3.py.exp
tests/bytes_compare: Rework test for bytes <-> str comparison.
8 years ago
bytes_compare_array.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_construct.py
tests/basic: Make various tests skippable.
8 years ago
bytes_construct_array.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_construct_endian.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_construct_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
bytes_count.py
tests: Make bytes/str.count() tests skippable.
6 years ago
bytes_find.py
py/objstrunicode: str_index_to_ptr: Should handle bytes too.
8 years ago
bytes_format_modulo.py
tests: Add tests for %-formatting of bytes.
9 years ago
bytes_format_modulo.py.exp
tests: Add tests for %-formatting of bytes.
9 years ago
bytes_gen.py
tests: Fix uctypes tests to run on 64bit arch; enable more native tests.
10 years ago
bytes_large.py
py: Never intern data of large string/bytes object; add relevant tests.
10 years ago
bytes_mult.py
py: Fix mult by negative number of tuple, list, str, bytes.
10 years ago
bytes_partition.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
bytes_replace.py
py: Make bytes objs work with more str methods; add tests.
10 years ago
bytes_split.py
py: Make bytes objs work with more str methods; add tests.
10 years ago
bytes_strip.py
py: Make bytes objs work with more str methods; add tests.
10 years ago
bytes_subscr.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
class1.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
class2.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
class3.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
class_bind_self.py
py: Be more restrictive binding self when looking up instance attrs.
9 years ago
class_binop.py
py: Add dispatch for user defined ==, >, <=, >=.
10 years ago
class_call.py
py: Support instance __call__ method.
11 years ago
class_contains.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
class_delattr_setattr.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
class_descriptor.py
tests: Fix few test for proper "skipped" detection with qemu-arm's tinytest.
7 years ago
class_emptybases.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
class_getattr.py
tests/basics/class_getattr: Remove invalid test for __getattribute__.
6 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 tests to improve coverage of py/objtype.c.
7 years ago
class_inplace_op.py
tests/class_inplace_op: Test for inplace op fallback to normal one.
7 years ago
class_instance_override.py
tests: Add test for when instance member overrides class member.
10 years ago
class_item.py
tests/basics: Improve user class coverage.
8 years ago
class_misc.py
tests/basics: Improve user class coverage.
8 years ago
class_new.py
tests/class_new: Add another testcase for __new__/__init__ interaction.
7 years ago
class_notimpl.py
py/objtype: Handle NotImplemented return from binary special methods.
7 years ago
class_number.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
class_reverse_op.py
tests/class_reverse_op: Test for reverse arith ops special methods.
7 years ago
class_staticclassmethod.py
py/objtype: Support full object model for get/set/delitem special meths.
6 years ago
class_store.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
class_store_class.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
class_str.py
Implement support for __str__ and __repr__ special methods in classes.
11 years ago
class_super.py
py/objtype: Fix assertion failures in super_attr by checking type.
7 years ago
class_super_aslocal.py
tests: Move super-as-local test from cpydiff to basic tests.
8 years ago
class_super_closure.py
tests/basics: Add test for super() when self is closed over.
8 years ago
class_super_multinherit.py
tests: Add tests to improve coverage of py/objtype.c.
7 years ago
class_super_object.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
class_use_other.py
py: Use a wrapper to explicitly check self argument of builtin methods.
10 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
closure_defargs.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
closure_manyvars.py
tests: Add tests for SyntaxError, TypeError, and other missing things.
10 years ago
closure_namedarg.py
py: Fix naming of function arguments when function is a closure.
10 years ago
compare_multi.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
comprehension1.py
tests/comprehension1, containment: Split set tests to separate files.
8 years ago
containment.py
py/objstr: Raise an exception for wrong type on RHS of str binary op.
7 years ago
continue.py
py: Implement break and continue byte codes, and add tests.
11 years ago
decorator.py
tests: Add tests for things that are not already tested.
10 years ago
del_attr.py
py/objtype: Check and prevent delete/store on a fixed locals map.
7 years ago
del_deref.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
del_global.py
tests: Improve test coverage of py/compile.c.
8 years ago
del_local.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
del_name.py
tests: Add some tests to improve coverage.
10 years ago
del_subscr.py
tests: Add tests for things that are not already tested.
10 years ago
deque1.py
py/objdeque: Protect against negative maxlen in deque constructor.
7 years ago
deque2.py
tests/basics/deque*: Tests for ucollections.deque.
7 years ago
deque2.py.exp
tests/basics/deque*: Tests for ucollections.deque.
7 years ago
dict1.py
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
dict2.py
tests: Add tests for op special meths, ubinascii, complex.
10 years ago
dict_clear.py
tests: Fix few tests which depend on order of elements in dict.
11 years ago
dict_construct.py
py: Implement full behaviour of dict.update(), and dict().
11 years ago
dict_copy.py
tests: Reduce large object allocations so tests can run with small heap.
9 years ago
dict_del.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
dict_fixed.py
py/objdict: Disallow possible modifications to fixed dicts.
7 years ago
dict_fixed.py.exp
py/objdict: Disallow possible modifications to fixed dicts.
7 years ago
dict_from_iter.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
dict_fromkeys.py
tests/dict_fromkeys: Split out skippable part.
8 years ago
dict_fromkeys2.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
dict_get.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
dict_intern.py
tests: Rename test scripts, changing - to _ for consistency.
10 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_specialmeth.py
tests: Add tests for op special meths, ubinascii, complex.
10 years ago
dict_update.py
py: Implement full behaviour of dict.update(), and dict().
11 years ago
dict_views.py
tests: Improve coverage of array, range, dict, slice, exc, unicode.
8 years ago
equal.py
py: Remove useless implementations of NOT_EQUAL in binary_op's.
11 years ago
equal_class.py
py: Implement fallback for equality check for all types.
10 years ago
errno1.py
tests: Add some more tests to improve coverage of py/parse.c.
7 years ago
errno1.py.exp
tests: Add some more tests to improve coverage of py/parse.c.
7 years ago
except_match_tuple.py
tests: Add test for exception matching of a tuple of exceptions.
10 years ago
exception1.py
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
exception_chain.py
tests: Add test for exception-chaining raise syntax.
9 years ago
exception_chain.py.exp
py: Remove dependency on printf/fwrite in mp_plat_print.
9 years ago
exceptpoly.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
exceptpoly2.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
floordivide.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
floordivide_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 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
for3.py
py: Fix optimised for-loop compiler so it follows proper semantics.
10 years ago
for_break.py
tests: Add another test for break-from-for-loop.
11 years ago
for_else.py
tests/basics: Add tests for for-else statement.
7 years ago
for_range.py
tests/basics: Add tests for raising ValueError when range() gets 0 step.
8 years ago
for_return.py
py: Fix stack underflow with optimised for loop.
11 years ago
frozenset1.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
frozenset_add.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
frozenset_binop.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
frozenset_copy.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
frozenset_difference.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
frozenset_set.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 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
fun_annotations.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
fun_calldblstar.py
py/runtime: Check that keys in dicts passed as ** args are strings.
7 years ago
fun_calldblstar2.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
fun_calldblstar3.py
tests/basics: Improve runtime.c test coverage.
8 years ago
fun_callstar.py
tests/basics: Improve runtime.c test coverage.
8 years ago
fun_callstardblstar.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
fun_defargs.py
py: Fix compiler to handle lambdas used as default arguments.
9 years ago
fun_defargs2.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
fun_error.py
tests: Rewrite some tests so they can run without needing eval/exec.
7 years ago
fun_error2.py
tests: Rewrite some tests so they can run without needing eval/exec.
7 years ago
fun_kwargs.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
fun_kwonly.py
py: Fix compiler to handle lambdas used as default arguments.
9 years ago
fun_kwonlydef.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
fun_kwvarargs.py
tests: Allow tests to pass against CPython 3.5.
9 years ago
fun_largestate.py
tests: Add some tests to improve coverage.
10 years ago
fun_name.py
py/objboundmeth: Support loading generic attrs from the method.
6 years ago
fun_str.py
tests: Add tests for SyntaxError, TypeError, and other missing things.
10 years ago
fun_varargs.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
gc1.py
tests/basics/gc1: Add test which triggers GC threshold.
7 years ago
gen_yield_from.py
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
6 years ago
gen_yield_from_close.py
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
6 years ago
gen_yield_from_ducktype.py
vm: Properly handle StopIteration raised in user instance iterator.
10 years ago
gen_yield_from_exc.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
gen_yield_from_executing.py
py/objgenerator: Protect against reentering a generator.
7 years ago
gen_yield_from_iter.py
py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION.
10 years ago
gen_yield_from_send.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
gen_yield_from_stopped.py
tests: Add testcase for yielding from a stopped generator.
9 years ago
gen_yield_from_throw.py
py/objgenerator: Fix handling of None passed as 2nd arg to throw().
6 years ago
gen_yield_from_throw2.py
py/vm: Fix case of throwing GeneratorExit type into yield-from.
6 years ago
gen_yield_from_throw3.py
py/runtime: Be sure that non-intercepted thrown object is an exception.
7 years ago
generator1.py
tests/basics: Improve test coverage for generators.
8 years ago
generator2.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
generator_args.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
generator_close.py
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
6 years ago
generator_closure.py
objclosure: Fix printing of generator closures.
10 years ago
generator_exc.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
generator_name.py
py/objgenerator: Implement __name__ with normal fun attr accessor code.
6 years ago
generator_pend_throw.py
tests/basics/generator_pend_throw: Add test for just-started generator.
7 years ago
generator_pend_throw.py.exp
tests/basics/generator_pend_throw: Add test for just-started generator.
7 years ago
generator_pep479.py
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
6 years ago
generator_pep479.py.exp
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
6 years ago
generator_return.py
py/objgenerator: Remove TODO about returning gen being called again.
6 years ago
generator_send.py
gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen.
11 years ago
generator_throw.py
py/objgenerator: Fix handling of None passed as 2nd arg to throw().
6 years ago
getattr.py
py/objtype: Remove comment about catching exc from user __getattr__.
6 years ago
getitem.py
tests: Add test where __getitem__ raises IndexError to stop iteration.
9 years ago
globals_del.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
ifcond.py
tests: Add tests for things that are not already tested.
10 years ago
ifexpr.py
tests/basics: Add tests for if-expressions.
8 years ago
int1.py
tests/basics: Add tests for parsing of ints with base 36.
8 years ago
int2.py
tests: Add tests for SyntaxError, TypeError, and other missing things.
10 years ago
int_big1.py
tests/basics: Add tests for edge cases of nan-box's 47-bit small int.
7 years ago
int_big_add.py
tests/basics: Add tests for edge cases of nan-box's 47-bit small int.
7 years ago
int_big_and.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_and2.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_and3.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_cmp.py
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
10 years ago
int_big_div.py
py/mpz: Fix bug with overflowing C-shift in division routine.
9 years ago
int_big_error.py
tests/basics/int_big_error.py: Use bytearray to test for int overflow.
6 years ago
int_big_lshift.py
tests: Add further tests for mpz code.
9 years ago
int_big_mod.py
py/mpz: Do Python style division/modulo within bignum divmod routine.
9 years ago
int_big_mul.py
tests: Add missing tests for builtins, and many other things.
10 years ago
int_big_or.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_or2.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_or3.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_pow.py
tests: Add further tests for mpz code.
9 years ago
int_big_rshift.py
tests/basics: Modify int-big tests to prevent constant folding.
7 years ago
int_big_unary.py
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
10 years ago
int_big_xor.py
tests/basics: Modify int-big tests to prevent constant folding.
7 years ago
int_big_xor2.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_xor3.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
int_big_zeroone.py
py: Fix comparison of minus-zero long int.
10 years ago
int_bytes.py
py/objint: In to_bytes(), allow length arg to be any int and check sign.
8 years ago
int_bytes_intbig.py
py/objint: Support "big" byte-order in int.to_bytes().
8 years ago
int_constfolding.py
tests: Add some more tests to improve coverage of py/parse.c.
7 years ago
int_constfolding_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
int_divmod.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
int_divmod_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
int_divzero.py
py: Catch all cases of integer (big and small) division by zero.
9 years ago
int_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
int_small.py
tests: Add tests for things that are not already tested.
10 years ago
io_buffered_writer.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_buffered_writer.py.exp
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_bytesio_cow.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_bytesio_ext.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_bytesio_ext2.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_bytesio_ext2.py.exp
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_iobase.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_stringio1.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_stringio_with.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_write_ext.py
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
io_write_ext.py.exp
tests: Move non-filesystem io tests to basics dir with io_ prefix.
6 years ago
is_isnot.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
iter0.py
tests/basics: Improve runtime.c test coverage.
8 years ago
iter1.py
tests/basics/iter1.py: Add more tests for walking a user-defined iter.
7 years ago
iter2.py
py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.
11 years ago
iter_of_iter.py
tests/basic/: Make various tests skippable.
8 years ago
lambda1.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
lambda_defargs.py
py: Implement default and star args for lambdas.
9 years ago
lexer.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
list1.py
tests/basics: Add more list tests to improve coverage testing.
8 years ago
list_clear.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
list_compare.py
py/objlist: Properly implement comparison with incompatible types.
7 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_extend.py
py/objlist: Make list += accept all arguments and add test.
9 years ago
list_index.py
tests: Add tests for SyntaxError, TypeError, and other missing things.
10 years ago
list_insert.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
list_mult.py
tests/basics: Add more list tests to improve coverage testing.
8 years ago
list_pop.py
tests/basics: Add more list tests to improve coverage testing.
8 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
tests/basics: Enable tests for list slice getting with 3rd arg.
8 years ago
list_slice_3arg.py
tests/basics/list_slice_3arg: Add more tests for negative slicing.
8 years ago
list_slice_assign.py
all: Use the name MicroPython consistently in comments
7 years ago
list_slice_assign_grow.py
tests/basics: Add tests for list and bytearray growing using themselves.
8 years ago
list_sort.py
tests: Reduce large object allocations so tests can run with small heap.
9 years ago
list_sum.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
logic_constfolding.py
tests/basics: Add test for logical constant folding.
8 years ago
memoryerror.py
tests/basics/memoryerror: Add test for out-of-memory using realloc.
7 years ago
memoryerror.py.exp
tests/basics/memoryerror: Add test for out-of-memory using realloc.
7 years ago
memoryview1.py
tests/basics: Add coverage tests for memoryview attributes.
6 years ago
memoryview2.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
memoryview_gc.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
memoryview_intbig.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
memoryview_itemsize.py
tests/basics: Add coverage tests for memoryview attributes.
6 years ago
module1.py
tests: Add missing tests for builtins, and many other things.
10 years ago
module2.py
tests: Add missing tests for builtins, and many other things.
10 years ago
module2.py.exp
tests: Add missing tests for builtins, and many other things.
10 years ago
namedtuple1.py
tests/basics/namedtuple*: Import ucollections first.
6 years ago
namedtuple_asdict.py
tests/basics/namedtuple*: Import ucollections first.
6 years ago
object1.py
tests: Add missing tests for builtins, and many other things.
10 years ago
object_dict.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
object_new.py
tests/object_new: Better messages, check user __new__() method.
7 years ago
op_error.py
tests: Rewrite some tests so they can run without needing eval/exec.
7 years ago
op_error_intbig.py
tests: Rewrite some tests so they can run without needing eval/exec.
7 years ago
op_error_memoryview.py
tests: Rewrite some tests so they can run without needing eval/exec.
7 years ago
op_precedence.py
tests: Make tests work on targets without float support.
6 years ago
ordereddict1.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
ordereddict_eq.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
ordereddict_eq.py.exp
tests: Add testcase for OrderedDict equality.
9 years ago
parser.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
python34.py
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
python34.py.exp
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
python36.py
py/lexer: Add support for underscores in numeric literals.
7 years ago
python36.py.exp
py/lexer: Add support for underscores in numeric literals.
7 years ago
return1.py
tests: Add tests for things that are not already tested.
10 years ago
scope.py
tests/basics: Add further tests for nonlocal scoping and closures.
8 years ago
scope_implicit.py
py/compile: Fix case of eager implicit conversion of local to nonlocal.
6 years ago
self_type_check.py
py: Use a wrapper to explicitly check self argument of builtin methods.
10 years ago
seq_unpack.py
tests: Add tests for things that are not already tested.
10 years ago
set_add.py
Modify set tests to print sorted sets directly
11 years ago
set_basic.py
tests/run-tests: Allow to skip set tests.
8 years ago
set_binop.py
tests/basics: Add more set tests to improve coverage of py/objset.c.
7 years ago
set_clear.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
set_comprehension.py
tests/comprehension1, containment: Split set tests to separate files.
8 years ago
set_containment.py
tests/comprehension1, containment: Split set tests to separate files.
8 years ago
set_copy.py
Modify set tests to print sorted sets directly
11 years ago
set_difference.py
tests/basics: Add test for set.difference_update with arg being itself.
8 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
tests/basics: Add more set tests to improve coverage of py/objset.c.
7 years ago
set_iter.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
set_iter_of_iter.py
tests/basic/: Make various tests skippable.
8 years ago
set_pop.py
tests/basics/set_pop.py: Sort set before printing for consistent output.
6 years ago
set_remove.py
py/objset: Include the failed key in a KeyError raised from set.remove.
7 years ago
set_specialmeth.py
tests: Add tests for op special meths, ubinascii, complex.
10 years ago
set_symmetric_difference.py
Modify set tests to print sorted sets directly
11 years ago
set_type.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
set_union.py
tests: Fix few tests which depend on order of elements in set.
11 years ago
set_unop.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
set_update.py
Modify set tests to print sorted sets directly
11 years ago
slice_attrs.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
slice_intbig.py
tests/basic: Split tests into working with small ints and not working.
8 years ago
slots_bool_len.py
py: Improve __bool__ and __len__ dispatch; add slots for them.
11 years ago
special_methods.py
tests/basics/special_methods: Add testcases for __int__.
6 years ago
special_methods2.py
tests/basics/special_methods2: Typo fix in comment.
6 years ago
string1.py
tests: Add tests to improve coverage of objstr.c.
9 years ago
string_center.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
string_compare.py
tests/basics/string_compare.py: Add test with string that hashes to 0.
7 years ago
string_count.py
tests: Make bytes/str.count() tests skippable.
6 years ago
string_cr_conversion.py
py: Convert CR to LF and CR LF to LF in lexer.
10 years ago
string_crlf_conversion.py
py: Convert CR to LF and CR LF to LF in lexer.
10 years ago
string_endswith.py
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_endswith_upy.py
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_endswith_upy.py.exp
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_escape.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
string_find.py
py/objstr: In find/rfind, don't crash when end < start.
7 years ago
string_format.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
string_format2.py
tests/basics/string_format2: Adjust comment now that tests succeed.
8 years ago
string_format_error.py
tests: Split large tests into smaller files, to run with a small heap.
9 years ago
string_format_modulo.py
tests/basics: Move string-modulo-format int tests to dedicated file.
8 years ago
string_format_modulo_int.py
tests/basics: Move string-modulo-format int tests to dedicated file.
8 years ago
string_index.py
py: Implement str.[r]index() and add tests for them.
11 years ago
string_istest.py
add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str
11 years ago
string_join.py
tests/basics/string_join.py: Add test case where argument is not iterable.
8 years ago
string_large.py
py: Never intern data of large string/bytes object; add relevant tests.
10 years ago
string_mult.py
py: Fix mult by negative number of tuple, list, str, bytes.
10 years ago
string_partition.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
string_replace.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
string_repr.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
string_rfind.py
py/objstr: In find/rfind, don't crash when end < start.
7 years ago
string_rindex.py
py: Implement str.[r]index() and add tests for them.
11 years ago
string_rpartition.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
string_rsplit.py
tests/basics/string_rsplit: Add tests for negative "maxsplit" argument.
8 years ago
string_slice.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
string_split.py
objstr: split(None): Fix whitespace properly.
10 years ago
string_splitlines.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
string_startswith.py
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_startswith_upy.py
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_startswith_upy.py.exp
py/objstr: startswith, endswith: Check arg to be a string.
7 years ago
string_strip.py
py/objstr: strip: Don't strip "\0" by default.
7 years ago
string_upperlow.py
objstr: Implement .lower() and .upper().
11 years ago
struct1.py
py/modstruct: Check and prevent buffer-write overflow in struct packing.
7 years ago
struct1_intbig.py
py/binary.c: Fix bug when packing big-endian 'Q' values.
7 years ago
struct2.py
py/modstruct: Check and prevent buffer-write overflow in struct packing.
7 years ago
struct_micropython.py
py/modstruct: In struct.pack, stop converting if there are no args left.
7 years ago
struct_micropython.py.exp
py/modstruct: In struct.pack, stop converting if there are no args left.
7 years ago
subclass_classmethod.py
tests/basics: Convert "sys.exit()" to "raise SystemExit".
8 years ago
subclass_native1.py
tests: Add more tests to improve coverage, mostly testing exceptions.
9 years ago
subclass_native2_list.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
subclass_native2_tuple.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
subclass_native3.py
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
subclass_native4.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
subclass_native5.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
subclass_native_buffer.py
py: Allow subclass of native object to delegate to the native buffer_p.
10 years ago
subclass_native_call.py
tests: Skip tests needing machine module if (u)machine doesn't exist.
6 years ago
subclass_native_call.py.exp
tests/basics: Add test for calling a subclass of a native class.
7 years ago
subclass_native_cmp.py
objtuple: Go out of the way to support comparison of subclasses.
11 years ago
subclass_native_containment.py
tests/basics: Add test for containment of a subclass of a native type.
7 years ago
subclass_native_init.py
tests/basics: Add test for overriding a native base-class's init method.
7 years ago
subclass_native_iter.py
tests/basics: Add test for subclassing an iterable native type.
7 years ago
subclass_native_specmeth.py
objtype: Implement ->getiter() method for instances.
11 years ago
syntaxerror.py
tests: Automatically skip tests that require eval, exec or frozenset.
7 years ago
sys1.py
tests/basics/sys1.py: Add test for calling sys.exit() without any args.
6 years ago
sys_getsizeof.py
tests/basics: Add tests to improve coverage of py/objdeque.c.
7 years ago
true_value.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
try1.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
try2.py
tests: Add tests to improve coverage of runtime.c.
8 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
try_as_var.py
tests: Modify tests that print repr of an exception with 1 arg.
6 years ago
try_continue.py
py/vm: Fix popping of exception block in UNWIND_JUMP opcode.
9 years ago
try_else.py
tests/basics: Add tests for try-except-else and try-except-else-finally.
6 years ago
try_else_finally.py
tests/basics: Add tests for try-except-else and try-except-else-finally.
6 years ago
try_error.py
tests: Add tests for SyntaxError, TypeError, and other missing things.
10 years ago
try_finally1.py
py/emitnative: Fix try-finally in outer scope, so finally is cancelled.
6 years ago
try_finally2.py
tests/basics: Add test case for overflowing Py stack in try-finally.
8 years ago
try_finally_break.py
py: Fix VM crash with unwinding jump out of a finally block.
6 years ago
try_finally_loops.py
tests/basics: Add more tests for unwind jumps from within a try-finally.
8 years ago
try_finally_return.py
py: Fix with+for+return bug by popping for-iter when unwinding exc stack.
9 years ago
try_finally_return2.py
py: Handle case of return within the finally block of try-finally.
9 years ago
try_finally_return3.py
py/vm: Fix handling of finally-return with complex nested finallys.
6 years ago
try_finally_return4.py
tests/basics: Add more tests for return within try-finally.
6 years ago
try_reraise.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
try_reraise2.py
various: Spelling fixes
8 years ago
try_return.py
py: Fix VM crash with unwinding jump out of a finally block.
6 years ago
tuple1.py
tests/basics: Add test for tuple inplace add.
8 years ago
tuple_compare.py
py/objtuple: Properly implement comparison with incompatible types.
7 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
py/objtuple: Allow to use inplace-multiplication operator on tuples.
7 years ago
types1.py
tests/types1: Split out set type test to set_types.
8 years ago
types2.py
tests: Split out those tests requiring float and import.
11 years ago
unary_op.py
tests: Add test for "not" of a user defined class.
9 years ago
unboundlocal.py
py: Make all LOAD_FAST ops check for unbound local.
11 years ago
unpack1.py
tests/basics/unpack1.py: Test if *a, = b copies b when b is a list.
8 years ago
while1.py
Move tests in basic/tests/ up one level preparating to multiple test dirs.
11 years ago
while_cond.py
tests: Add tests for things that are not already tested.
10 years ago
while_nest_exc.py
tests: Add test for nested while with exc and break.
10 years ago
with1.py
tests: Make tests pass on pyboard.
11 years ago
with_break.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
with_continue.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
with_raise.py
tests/basics: Add test cases for context manager raising in enter/exit.
6 years ago
with_return.py
py: Fix with+for+return bug by popping for-iter when unwinding exc stack.
9 years ago