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