Paul Sokolovsky
ad038ca101
tests/class_descriptor.py: Fix line-endings (were CRLF).
10 years ago
stijn
28fa84b445
py: Add optional support for descriptors' __get__ and __set__ methods.
Disabled by default. Enabled on unix and windows ports.
10 years ago
Damien George
23d7fd526d
tests: Skip some new tests when testing native emitter.
10 years ago
Damien George
214179b430
tests: Add tests for SyntaxError, TypeError, and other missing things.
This is intended to improve coverage of the test suite.
10 years ago
Damien George
db80b65402
tests: Make pyb/timer test check callback timing properly.
10 years ago
stijn
3cc17c69ff
py: Allow retrieving a function's __name__.
Disabled by default. Enabled on unix and stmhal ports.
10 years ago
Damien George
d478fc75b3
tests: Adjust expected output, since Travis can't do git describe.
10 years ago
Paul Sokolovsky
d48035b06b
tests: Add basic test for OrderedDict.
Mostly to have coverage of newly added code in map.c.
10 years ago
Damien George
1004535237
tests: Make cmdline tests more stable by using regex for matching.
10 years ago
Damien George
f256cfef4f
tests: Add some more tests for complex numbers and ure module.
10 years ago
Damien George
6837d46c1d
py: Fix builtin abs so it works for bools and bignum.
10 years ago
Damien George
26a9975fba
tests: Add some more tests for bytes, bignum, string and ujson.
10 years ago
Damien George
0683c1ceef
tests: Don't try to verify amount of memory used in cmd_showbc test.
10 years ago
Damien George
703c009681
tests: Add cmdline test to test showbc code.
10 years ago
Damien George
ac4f6b804f
stmhal: Fix adc.read_timed so buffer store respects element size.
Addresses issue #1154 .
10 years ago
Damien George
143c34109c
tests: Add ability to test uPy cmdline executable.
This allows to test options passed to cmdline executable, as well as the
behaviour of the REPL.
10 years ago
Damien George
af43565322
tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
10 years ago
Damien George
c832bde05f
tests: Add zlib test for decompressing uncompressed data.
10 years ago
Peter D. Gray
b2a237d337
py: Add support for start/stop/step attributes of builtin range object.
10 years ago
Damien George
55278dcc76
tests: Add test for modure when regex has errors.
10 years ago
Damien George
6cb6947b99
extmod/ure: Correctly return None when a group has no match.
See issue #1122 .
10 years ago
Damien George
72ddcfd9ff
tests: Skip basics/boundmeth1.py for native emitter.
10 years ago
Damien George
086a7616dd
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
10 years ago
stijn
25f1264699
tests: Skip special math fun tests when math module exists but not funs.
10 years ago
Damien George
f2a889564b
tests: Add basics test for gc module.
10 years ago
Damien George
fe3da09fa0
tests: Use range as iterable instead of list comprehension.
So that navite emitter passes (comprehensions use yield which is not yet
supported by native emitter).
10 years ago
Damien George
24ffb8e876
tests: Add tests for builtins: all, any, sum, abs.
10 years ago
Damien George
96e37d3bb8
tests: Add tests for inline assembler beq_n and beq_w ops.
10 years ago
Damien George
2af921fb51
tests: Add tests for op special meths, ubinascii, complex.
10 years ago
Damien George
47538cc880
tests: Add test for micropython const feature when it has a SyntaxError.
10 years ago
Paul Sokolovsky
992284be39
tests: Add test for array slice assignment.
10 years ago
Damien George
b67253e96f
tests: Update pyb/uart.py test since baudrate of 1200 is too low.
10 years ago
Damien George
4852e09c79
py: Fix adding of traceback so that it appends to existing info.
This makes exception traceback info self contained (ie doesn't rely on
list object, which was a bit of a hack), reduces code size, and reduces
RAM footprint of exception by eliminating the list object.
Addresses part of issue #1126 .
10 years ago
Damien George
626ee90ce1
tests: Add more tests for pyb.Timer class.
10 years ago
Damien George
5c047b97f2
tests: Add test for math special functions.
10 years ago
Damien George
4e3906d6b5
tests: Add tests for ure groups and named char classes.
Issue #1122 should now be fixed.
10 years ago
Paul Sokolovsky
2e24034c3f
run-tests-exp.sh: Typo fix in comment.
10 years ago
Damien George
eff10f66a6
py: Implement bl/bx instructions for inline Thumb assembler.
10 years ago
Paul Sokolovsky
ee831cafa9
tests: Add another testcase for relative imports.
10 years ago
Henrik Sölver
f80f1a7077
stmhal: Add support for CAN rx callbacks.
10 years ago
Damien George
ed8b4da0db
tests: Remove obsolete test; don't use fp in micropython/ tests.
10 years ago
Damien George
f6532bb9e0
py: Simplify and remove redundant code for __iter__ method lookup.
10 years ago
Damien George
d1c3788375
py: Fix loading of immediate pointer in Thumb assembler.
Addresses issue #1117 .
10 years ago
stijn
c1832fd206
py: Add setattr builtin.
10 years ago
Damien George
baafb290ad
stmhal: Add uart.sendbreak() method, to send a break condition.
10 years ago
Damien George
192d536fe4
py: Implement clz and rbit for inline Thumb assembler.
10 years ago
Damien George
32f0b7942c
py: Implement sdiv/udiv for inline Thumb assembler.
10 years ago
Damien George
0d967b8ae4
py: Implement push/pop for inline Thumb assembler.
10 years ago
Damien George
48244044a2
py: Allow subclass of native object to delegate to the native buffer_p.
Addresses issue #1109 .
10 years ago
Paul Sokolovsky
194117a066
objstr: Fix bytes creation from array of long ints.
10 years ago