.. |
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 |
annotate_var.py
|
all: Fix spelling mistakes based on codespell check.
|
2 years ago |
annotate_var.py.exp
|
tests/basics: Add tests for variable annotations.
|
4 years ago |
array1.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_add.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_construct.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_construct2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_construct_endian.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_intbig.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
array_micropython.py
|
tests: Replace umodule with module everywhere.
|
1 year 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 |
assign_expr.py
|
py/emitnative: Initialise locals as Python object type for native code.
|
2 years ago |
assign_expr.py.exp
|
py/emitnative: Initialise locals as Python object type for native code.
|
2 years ago |
assign_expr_scope.py
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
2 years ago |
assign_expr_scope.py.exp
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
2 years ago |
assign_expr_syntaxerror.py
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
2 years ago |
assign_expr_syntaxerror.py.exp
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
2 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: Replace umodule with module everywhere.
|
1 year 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
|
py/compile: Fix async for's stack handling of iterator expression.
|
1 year ago |
async_for.py.exp
|
py/compile: Fix async for's stack handling of iterator expression.
|
1 year ago |
async_for2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
async_for2.py.exp
|
py/compile: Don't await __aiter__ special method in async-for.
|
4 years ago |
async_syntaxerror.py
|
py/compile: Raise an error on async with/for outside an async function.
|
3 years ago |
async_syntaxerror.py.exp
|
py/compile: Raise an error on async with/for outside an async function.
|
3 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
|
tests: Replace umodule with module everywhere.
|
1 year 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: Replace umodule with module everywhere.
|
1 year ago |
bool1.py
|
tests/basics: Add tests for equality between bool and int/float/complex.
|
5 years ago |
boundmeth1.py
|
py/objboundmeth: Optimise check for types in binary_op.
|
1 year 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
|
tests: Replace umodule with module everywhere.
|
1 year ago |
builtin_chr.py
|
tests: Add missing tests for builtins, and many other things.
|
10 years ago |
builtin_compile.py
|
tests/basics: Add more tests for hashing of various types.
|
1 year ago |
builtin_delattr.py
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
builtin_dir.py
|
tests: Replace umodule with module everywhere.
|
1 year 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
|
py/objsingleton: Use mp_generic_unary_op for singleton objects.
|
5 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_buffer.py
|
py/builtinevex: Support passing in a bytearray/buffer to eval/exec.
|
5 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_exec_buffer.py
|
py/builtinevex: Support passing in a bytearray/buffer to eval/exec.
|
5 years ago |
builtin_filter.py
|
tests/basics: Rename remaining tests that are for built-in functions.
|
7 years ago |
builtin_getattr.py
|
py/modbuiltins: Fix getattr to work with class raising AttributeError.
|
4 years ago |
builtin_hasattr.py
|
py/modbuiltins: Make built-in hasattr work properly for user types.
|
7 years ago |
builtin_hash.py
|
tests/basics: Add more tests for hashing of various types.
|
1 year 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: Add tests for overriding builtins.__import__.
|
5 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_str_hex.py
|
tests/extmod/ubinascii: Add tests for bytes.hex etc.
|
2 years ago |
builtin_str_hex.py.exp
|
tests/basics: Add exp file for builtin_str_hex test.
|
2 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
|
py/objarray: Implement more/less comparisons for array.
|
4 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_byte_operations.py
|
py/objstr: Consolidate methods for str/bytes/bytearray/array.
|
2 years ago |
bytearray_center.py
|
py/objstr: Consolidate methods for str/bytes/bytearray/array.
|
2 years ago |
bytearray_construct.py
|
py/objarray: Detect bytearray(str) without an encoding.
|
2 years ago |
bytearray_construct_array.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytearray_construct_endian.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytearray_count.py
|
py/objstr: Consolidate methods for str/bytes/bytearray/array.
|
2 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_partition.py
|
py/objstr: Consolidate methods for str/bytes/bytearray/array.
|
2 years ago |
bytearray_slice_assign.py
|
py/objarray: Fix amount of free space in array when doing slice assign.
|
5 years ago |
bytes.py
|
py/objstr: Protect against creating bytes(n) with n negative.
|
7 years ago |
bytes_add.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
bytes_add_array.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytes_add_bytearray.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
bytes_add_endian.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytes_center.py
|
py/objstr: Consolidate methods for str/bytes/bytearray/array.
|
2 years ago |
bytes_compare.py
|
sequence: Fix yet another case of improper sequence comparison.
|
11 years ago |
bytes_compare2.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 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: Replace umodule with module everywhere.
|
1 year ago |
bytes_compare_bytearray.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
bytes_construct.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
bytes_construct_array.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytes_construct_bytearray.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
bytes_construct_endian.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
bytes_construct_intbig.py
|
tests/basic: Split tests into working with small ints and not working.
|
8 years ago |
bytes_count.py
|
py/objstr: Don't treat bytes as unicode in str.count.
|
2 years ago |
bytes_find.py
|
py/objstrunicode: str_index_to_ptr: Should handle bytes too.
|
8 years ago |
bytes_format_modulo.py
|
tests/basics: Automatically skip tests that use str/bytes modulo-format.
|
5 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_bases.py
|
py/objtype: Add type.__bases__ attribute.
|
5 years ago |
class_bind_self.py
|
py: Rework mp_convert_member_lookup to properly handle built-ins.
|
4 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
|
py/objtype: Convert result of user __contains__ method to bool.
|
3 years ago |
class_delattr_setattr.py
|
py/objobject: Add object.__delattr__ function.
|
5 years ago |
class_descriptor.py
|
tests: Fix few test for proper "skipped" detection with qemu-arm's tinytest.
|
7 years ago |
class_dict.py
|
py/objtype: Handle __dict__ attribute when type has no locals.
|
4 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/basics: Use str.format instead of % for formatting messages.
|
5 years ago |
class_inplace_op2.py
|
tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops.
|
4 years ago |
class_inplace_op2.py.exp
|
tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops.
|
4 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: Use bytes not bytearray when checking user buffer proto.
|
5 years ago |
class_new.py
|
tests/class_new: Add another testcase for __new__/__init__ interaction.
|
7 years ago |
class_notimpl.py
|
py/objsingleton: Use mp_generic_unary_op for singleton objects.
|
5 years ago |
class_number.py
|
Move tests in basic/tests/ up one level preparating to multiple test dirs.
|
11 years ago |
class_ordereddict.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
class_ordereddict.py.exp
|
py/objtype: Support passing in an OrderedDict to type() as the locals.
|
4 years ago |
class_reverse_op.py
|
py/runtime: If inplace binop fails then try corresponding normal binop.
|
1 year 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: Replace umodule with module everywhere.
|
1 year 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
|
tests/run-tests: Use -BS flags when running CPython.
|
4 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
|
tests: Replace umodule with module everywhere.
|
1 year ago |
deque2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
deque2.py.exp
|
tests/basics/deque*: Tests for ucollections.deque.
|
7 years ago |
dict1.py
|
tests/basics: Add tests for equality between bool and int/float/complex.
|
5 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
|
tests: Replace umodule with module everywhere.
|
1 year 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
|
tests/basics/dict_pop.py: Remove extra comma in call and fix grammar.
|
5 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_union.py
|
py/objdict: Implement dictionary union (PEP 584).
|
2 years ago |
dict_union.py.exp
|
py/objdict: Implement dictionary union (PEP 584).
|
2 years ago |
dict_update.py
|
py: Implement full behaviour of dict.update(), and dict().
|
11 years ago |
dict_views.py
|
py/objdict: Fix __hash__ for dict_view types.
|
1 year 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: Replace umodule with module everywhere.
|
1 year ago |
errno1.py.exp
|
tests: Replace umodule with module everywhere.
|
1 year ago |
except_match_tuple.py
|
tests: Add test for exception matching of a tuple of exceptions.
|
10 years ago |
exception1.py
|
py/objexcept: Support errno attribute on OSError exceptions.
|
4 years ago |
exception_chain.py
|
py/vm: Don't emit warning when using "raise ... from None".
|
1 year ago |
exception_chain.py.exp
|
py/vm: Don't emit warning when using "raise ... from None".
|
1 year 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/bc: Fix checking for duplicate **kwargs.
|
2 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_calldblstar4.py
|
py/runtime: Allow multiple **args in a function call.
|
3 years ago |
fun_callstar.py
|
py/runtime: Allow multiple *args in a function call.
|
3 years ago |
fun_callstardblstar.py
|
py/runtime: Fix crash in star arg unpacking.
|
2 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_globals.py
|
tests/basics: Add tests for __name__ and __globals__ attrs on closures.
|
2 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
|
py/runtime: Allow multiple *args in a function call.
|
3 years ago |
fun_largestate.py
|
tests: Add some tests to improve coverage.
|
10 years ago |
fun_name.py
|
tests/basics: Add tests for __name__ and __globals__ attrs on closures.
|
2 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_pending.py
|
tests: Add tests for generator throw and yield-from with exc handlers.
|
5 years ago |
gen_yield_from_send.py
|
tests: Rename test scripts, changing - to _ for consistency.
|
10 years ago |
gen_yield_from_stopped.py
|
py: Support single argument to optimised MP_OBJ_STOP_ITERATION.
|
3 years ago |
gen_yield_from_throw.py
|
tests/basics: Add test for throw into yield-from with normal return.
|
5 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
|
py/objgenerator: Allow pend_throw to an unstarted generator.
|
5 years ago |
generator_pend_throw.py.exp
|
py/objgenerator: Allow pend_throw to an unstarted generator.
|
5 years ago |
generator_pep479.py
|
py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from.
|
5 years ago |
generator_pep479.py.exp
|
py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from.
|
5 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 |
generator_throw_nested.py
|
tests: Add tests for generator throw and yield-from with exc handlers.
|
5 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
|
py/compile: Remove over-eager optimisation of tuples as if condition.
|
2 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: Replace umodule with module everywhere.
|
1 year 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/basics/int_big_cmp.py: Add more tests for big-int comparison.
|
3 years ago |
int_big_div.py
|
py/mpz: Fix overflow of borrow in mpn_div.
|
4 years ago |
int_big_error.py
|
py/objint_mpz: Catch and reject @ and @= operating on big integers.
|
2 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/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive.
|
3 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
|
py/parse: Support constant folding of power operator for integers.
|
5 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_parse.py
|
py/objint: Allow int() to parse anything with the buffer protocol.
|
1 year ago |
int_small.py
|
tests: Add tests for things that are not already tested.
|
10 years ago |
io_buffered_writer.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_buffered_writer.py.exp
|
tests/basics: Add more tests for hashing of various types.
|
1 year ago |
io_bytesio_cow.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_bytesio_ext.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_bytesio_ext2.py
|
tests: Replace umodule with module everywhere.
|
1 year 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: Replace umodule with module everywhere.
|
1 year ago |
io_stringio1.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_stringio_base.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_stringio_with.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
io_write_ext.py
|
tests: Replace umodule with module everywhere.
|
1 year 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/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 years ago |
is_isnot_literal.py
|
tests/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 years ago |
is_isnot_literal.py.exp
|
tests/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 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: Split out specific slice tests to separate files.
|
5 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
|
py/runtime: If inplace binop fails then try corresponding normal binop.
|
1 year 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: Split out specific slice tests to separate files.
|
5 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: Replace umodule with module everywhere.
|
1 year ago |
memoryview2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
memoryview_gc.py
|
py/objarray: Fix constructing a memoryview from a memoryview.
|
4 years ago |
memoryview_intbig.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
memoryview_itemsize.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
memoryview_slice_assign.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
memoryview_slice_size.py
|
py/objarray: Raise error on out-of-bound memoryview slice start.
|
2 years ago |
memoryview_slice_size.py.exp
|
py/objarray: Raise error on out-of-bound memoryview slice start.
|
2 years ago |
module1.py
|
tests: Add missing tests for builtins, and many other things.
|
10 years ago |
module2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
module2.py.exp
|
tests: Add missing tests for builtins, and many other things.
|
10 years ago |
module_dict.py
|
py/objmodule: Add support for __dict__.
|
2 years ago |
namedtuple1.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
namedtuple_asdict.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
nanbox_smallint.py
|
py/mpconfig: Include micropython module in core features.
|
2 years ago |
nanbox_smallint.py.exp
|
tests/basics: Add test for creating small-ints in nan-box builds.
|
3 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/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 years ago |
op_error_bytearray.py
|
tests/basics: Split out specific bytearray tests to separate files.
|
5 years ago |
op_error_intbig.py
|
tests: Rewrite some tests so they can run without needing eval/exec.
|
7 years ago |
op_error_literal.py
|
tests/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 years ago |
op_error_literal.py.exp
|
tests/basics: Split out literal tests that raise SyntaxWarning on CPy.
|
3 years ago |
op_error_memoryview.py
|
py/objarray: Disallow memoryview addition.
|
1 year ago |
op_precedence.py
|
tests: Make tests work on targets without float support.
|
6 years ago |
ordereddict1.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
ordereddict_eq.py
|
tests: Replace umodule with module everywhere.
|
1 year 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 |
parser.py.exp
|
tests: Add .exp files for basics/parser and import/import_override.
|
5 years ago |
python34.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
python34.py.exp
|
py/runtime: Allow multiple *args in a function call.
|
3 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_class.py
|
py/emitcommon: Don't implicitly close class vars that are assigned to.
|
3 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
|
tests/basics: Add tests for equality between bool and int/float/complex.
|
5 years ago |
set_basic.py
|
tests/basics: Add tests for equality between bool and int/float/complex.
|
5 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_indices.py
|
py/objslice: Add support for indices() method on slice objects.
|
5 years ago |
slice_intbig.py
|
tests/basic: Split tests into working with small ints and not working.
|
8 years ago |
slice_op.py
|
py/objslice: Ensure slice is not hashable.
|
1 year ago |
slots_bool_len.py
|
py: Improve __bool__ and __len__ dispatch; add slots for them.
|
11 years ago |
special_comparisons.py
|
py: Support non-boolean results for equality and inequality tests.
|
5 years ago |
special_comparisons2.py
|
py: Support non-boolean results for equality and inequality tests.
|
5 years ago |
special_methods.py
|
tests/basics: Remove __index__ and __inv__ from special methods tests.
|
1 year ago |
special_methods2.py
|
tests/basics: Remove __index__ and __inv__ from special methods tests.
|
1 year ago |
special_methods2.py.exp
|
tests/basics: Add test for matmul operator.
|
5 years ago |
special_methods_intbig.py
|
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
|
1 year ago |
stopiteration.py
|
py: Support single argument to optimised MP_OBJ_STOP_ITERATION.
|
3 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: Replace umodule with module everywhere.
|
1 year 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: Add boolean-as-integer formatting tests for fixed regression.
|
5 years ago |
string_format2.py
|
tests/basics/string_format2: Adjust comment now that tests succeed.
|
8 years ago |
string_format_cp310.py
|
py/objstr: Support '{:08}'.format("Jan") like Python 3.10.
|
3 years ago |
string_format_cp310.py.exp
|
py/objstr: Support '{:08}'.format("Jan") like Python 3.10.
|
3 years ago |
string_format_error.py
|
py/objstr: Support '{:08}'.format("Jan") like Python 3.10.
|
3 years ago |
string_format_modulo.py
|
py/objstr: Fix `str % {}` edge case.
|
1 year ago |
string_format_modulo_int.py
|
tests/basics: Automatically skip tests that use str/bytes modulo-format.
|
5 years ago |
string_fstring.py
|
py/lexer: Allow conversion specifiers in f-strings (e.g. !r).
|
1 year ago |
string_fstring_debug.py
|
py/lexer: Wrap in parenthesis all f-string arguments passed to format.
|
2 years ago |
string_fstring_debug.py.exp
|
py/lexer: Wrap in parenthesis all f-string arguments passed to format.
|
2 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/runtime: If inplace binop fails then try corresponding normal binop.
|
1 year 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/basics: Use str.format instead of % for formatting messages.
|
5 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: Support pad bytes in struct format.
|
1 year ago |
struct1_intbig.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
struct2.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
struct_endian.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
struct_micropython.py
|
tests: Replace umodule with module everywhere.
|
1 year 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/basics: Expand test cases for equality of subclasses.
|
5 years ago |
subclass_native3.py
|
py/objexcept: Make mp_obj_exception_get_value support subclassed excs.
|
3 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
|
tests/basics: Use bytes not bytearray when checking user buffer proto.
|
5 years ago |
subclass_native_call.py
|
tests: Replace umodule with module everywhere.
|
1 year 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
|
tests/basics: Add test for tuple compare with class derived from tuple.
|
5 years ago |
subclass_native_containment.py
|
tests/basics: Add test for containment of a subclass of a native type.
|
7 years ago |
subclass_native_exc_new.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
subclass_native_exc_new.py.exp
|
tests/basics: Add tests for type-checking subclassed exc instances.
|
3 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 |
subclass_native_str.py
|
tests: Move CPy diff test to real test now that subclass equality works.
|
5 years ago |
syntaxerror.py
|
tests/basics: Move test for "return" outside function to own file.
|
5 years ago |
syntaxerror_return.py
|
tests/basics: Move test for "return" outside function to own file.
|
5 years ago |
sys1.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
sys_exit.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
sys_getsizeof.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
sys_path.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
sys_tracebacklimit.py
|
tests: Replace umodule with module everywhere.
|
1 year ago |
sys_tracebacklimit.py.exp
|
tests: Replace umodule with module everywhere.
|
1 year 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_except_break.py
|
py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format.
|
5 years ago |
try_except_break.py.exp
|
py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format.
|
5 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_break2.py
|
py/vm: Fix handling of unwind jump out of active finally.
|
5 years ago |
try_finally_continue.py
|
py/vm: Fix handling of unwind jump out of active finally.
|
5 years ago |
try_finally_continue.py.exp
|
py/vm: Fix handling of unwind jump out of active finally.
|
5 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_finally_return5.py
|
py/vm: Fix handling of unwind jump out of active finally.
|
5 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: Split out specific slice tests to separate files.
|
5 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 |
tuple_slice.py
|
tests/basics: Split out specific slice tests to separate files.
|
5 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
|
py/runtime: Fix bool unary op for subclasses of native types.
|
3 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
|
all: Fix spelling mistakes based on codespell check.
|
2 years ago |