.. |
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
|
tests: Improve test coverage of py/compile.c.
|
8 years ago |
async_with.py.exp
|
tests: Improve test coverage of py/compile.c.
|
8 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 |
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/basic: Split tests into working with small ints and not working.
|
8 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: Add missing tests for builtins, and many other things.
|
10 years ago |
builtin_delattr.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
builtin_dir.py
|
tests/builtin_dir: The most expected thing in sys is exit, test for it.
|
8 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_eval.py
|
py: Make compiler return a proper exception on SyntaxError.
|
10 years ago |
builtin_eval_error.py
|
tests: Allow tests to pass against CPython 3.5.
|
9 years ago |
builtin_exec.py
|
tests/basics/builtin_exec: Test various globals/locals args to exec().
|
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/basic: Split tests into working with small ints and not working.
|
8 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: Add test for builtin locals().
|
8 years ago |
builtin_minmax.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
builtin_pow3_intbig.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
builtin_property.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
builtin_range.py
|
tests/basics/builtin_range: Add tests for negative slicing of range.
|
8 years ago |
builtin_range_attrs.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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_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
|
tests: Add more tests to improve coverage, mostly testing exceptions.
|
9 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
|
tests/basic: Make various tests skippable.
|
8 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_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: Make empty bytes object have a null-terminating byte.
|
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
|
py: Make bytes objs work with more str methods; add tests.
|
10 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/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
class_emptybases.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
class_getattr.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 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_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
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 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
|
tests: Add tests for calling super and loading a method directly.
|
8 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_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
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 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 |
dict1.py
|
tests: Add test to print full KeyError exc from failed dict lookup.
|
8 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_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 |
enumerate.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
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/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
errno1.py.exp
|
tests/basics: Add test for printing OSError when errno is unknown.
|
8 years ago |
except_match_tuple.py
|
tests: Add test for exception matching of a tuple of exceptions.
|
10 years ago |
exception1.py
|
objexcept: Add "args" exception attribute, as well as StopIteration.value.
|
11 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 |
filter.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
fun_calldblstar2.py
|
py: Fix bug passing a string as a keyword arg in a dict.
|
9 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/basics/fun_error: Split out skippable test.
|
8 years ago |
fun_error2.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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
|
tests: Convert line endings in fun_name.py from CRLF to LF.
|
10 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: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
gen_yield_from.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
gen_yield_from_close.py
|
tests/gen_yield_from_close: Use range() instead of reversed().
|
8 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_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
|
tests/basics: Improve test coverage for generators.
|
8 years ago |
gen_yield_from_throw2.py
|
tests: Update tests, and add new ones, for recent generator tweaks.
|
8 years ago |
gen_yield_from_throw3.py
|
tests: Update tests, and add new ones, for recent generator tweaks.
|
8 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
|
objgenerator: Implement return with value and .close() method.
|
11 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_return.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 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: Make sure getattr() works with non-interned strings (by interning them).
|
11 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 |
hasattr1.py
|
py: Check that second argument to hasattr is actually a string.
|
9 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/basic: Split tests into working with small ints and not working.
|
8 years ago |
int_big_add.py
|
tests: Add tests to improve coverage of runtime.c.
|
8 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
|
py: Catch all cases of integer (big and small) division by zero.
|
9 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: Improve mpz test coverage.
|
8 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: Improve mpz test coverage.
|
8 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/basic: Split tests into working with small ints and not working.
|
8 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 |
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: Add tests to improve coverage of runtime.c.
|
8 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/basics/lexer: Add line continuation tests for lexer.
|
8 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 |
map.py
|
tests/basic/: Make various tests skippable.
|
8 years ago |
memoryerror.py
|
tests: Adapt basics/memoryerror.py for ports with lower heap sizes.
|
10 years ago |
memoryerror.py.exp
|
tests: Adapt basics/memoryerror.py for ports with lower heap sizes.
|
10 years ago |
memoryview1.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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 |
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/namedtuple1: Add test for creating with pos and kw args.
|
7 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/basic: Split tests into working with small ints and not working.
|
8 years ago |
op_error_intbig.py
|
tests/basic: Split tests into working with small ints and not working.
|
8 years ago |
op_error_memoryview.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
op_precedence.py
|
tests/basics: Add tests for arithmetic operators precedence.
|
7 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 |
print.py
|
py: Add support for sep and end keywords in print.
|
11 years ago |
python34.py
|
py/compile: Raise SyntaxError if positional args are given after */**.
|
8 years ago |
python34.py.exp
|
py/compile: Raise SyntaxError if positional args are given after */**.
|
8 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 |
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
|
py/objset: Check that RHS of a binary op is a set/frozenset.
|
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
|
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_iter_of_iter.py
|
tests/basic/: Make various tests skippable.
|
8 years ago |
set_pop.py
|
tests/basics/set_pop: Improve coverage of set functions.
|
8 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 |
setattr1.py
|
tests: Add tests to improve coverage of objstr.c.
|
9 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/basic/: Make various tests skippable.
|
8 years ago |
special_methods2.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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: Add tests to improve coverage of objstr.c.
|
9 years ago |
string_count.py
|
tests: Add more tests to improve coverage, mostly testing exceptions.
|
9 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
|
tests: Add more tests to improve coverage, mostly testing exceptions.
|
9 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
|
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
|
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: Rename test scripts, changing - to _ for consistency.
|
10 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_cmp.py
|
objtuple: Go out of the way to support comparison of subclasses.
|
11 years ago |
subclass_native_specmeth.py
|
objtype: Implement ->getiter() method for instances.
|
11 years ago |
syntaxerror.py
|
tests: Update test suite to be compatible with CPython 3.6.
|
8 years ago |
sys1.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 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: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
try_continue.py
|
py/vm: Fix popping of exception block in UNWIND_JUMP opcode.
|
9 years ago |
try_error.py
|
tests: Add tests for SyntaxError, TypeError, and other missing things.
|
10 years ago |
try_finally1.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
try_finally2.py
|
tests/basics: Add test case for overflowing Py stack in try-finally.
|
8 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_reraise.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
try_reraise2.py
|
various: Spelling fixes
|
8 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_return.py
|
py: Fix with+for+return bug by popping for-iter when unwinding exc stack.
|
9 years ago |
zip.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |