<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/micropython, branch 0.9.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-12-28T06:46:52+00:00</updated>
<entry>
<title>tests/micropython: Add test for micropython.stack_use() function.</title>
<updated>2016-12-28T06:46:52+00:00</updated>
<author>
<name>Rami Ali</name>
<email>flowergrass@users.noreply.github.com</email>
</author>
<published>2016-12-28T06:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eae819c0ed1cdfba33820e06292fab348ec4756d'/>
<id>urn:sha1:eae819c0ed1cdfba33820e06292fab348ec4756d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/heapalloc_inst_call: Test for no alloc for simple object calls.</title>
<updated>2016-12-24T21:50:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-12-24T21:50:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=05aebb920614cad89b4a626b02e74eb334b732aa'/>
<id>urn:sha1:05aebb920614cad89b4a626b02e74eb334b732aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/micropython: Get heapalloc_traceback test running on baremetal.</title>
<updated>2016-12-15T00:11:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-15T00:11:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7081ea4119005aed320c644a9464f1f241b0b86e'/>
<id>urn:sha1:7081ea4119005aed320c644a9464f1f241b0b86e</id>
<content type='text'>
When printing exceptions from files sent to a target by pyboard.py the
filename in the exception is &lt;stdin&gt;, which differs to when running the
script on the PC.  So we strip out the filename to make the outputs the
same on all targets (see also misc/print_exception.py test).
</content>
</entry>
<entry>
<title>tests/micropython: Move alloc-less traceback test to separate test file.</title>
<updated>2016-11-21T06:39:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-21T06:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1f43d49f9efa22d81e10be7bd20933986b4a3320'/>
<id>urn:sha1:1f43d49f9efa22d81e10be7bd20933986b4a3320</id>
<content type='text'>
The native emitter doesn't provide proper traceback info so this test
should not be run in that case.
</content>
</entry>
<entry>
<title>tests/micropython: Add test for creating traceback without allocation.</title>
<updated>2016-11-21T06:10:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-21T06:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d70f87aaa2fe31b099359b4b27444f3b289cdb8c'/>
<id>urn:sha1:d70f87aaa2fe31b099359b4b27444f3b289cdb8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/micropython: Add test for import from within viper function.</title>
<updated>2016-11-10T11:54:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-10T11:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=679c0c4c835371552fb0bc9b65a4893ceaaf7471'/>
<id>urn:sha1:679c0c4c835371552fb0bc9b65a4893ceaaf7471</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/micropython: Add tests for heap_lock, and emergency exceptions.</title>
<updated>2016-10-13T13:32:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-13T13:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34d0b3f85c9926d854acd7723b9e057744916ee0'/>
<id>urn:sha1:34d0b3f85c9926d854acd7723b9e057744916ee0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Improve test coverage of py/compile.c.</title>
<updated>2016-10-11T01:30:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-11T01:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5e22afce41de8c87071d8fc149a6ba3cd8762819'/>
<id>urn:sha1:5e22afce41de8c87071d8fc149a6ba3cd8762819</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/micropython: Add test for micropython.opt_level() function.</title>
<updated>2016-10-11T00:01:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-11T00:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f0e563de3f02b26aa0ebf5dd62907d67b524a8e'/>
<id>urn:sha1:7f0e563de3f02b26aa0ebf5dd62907d67b524a8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/modmicropython: Add micropython.const, alias for identity function.</title>
<updated>2016-09-27T03:34:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T03:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=791b65f4b261a23e427664f0b86ce32b60e33cb5'/>
<id>urn:sha1:791b65f4b261a23e427664f0b86ce32b60e33cb5</id>
<content type='text'>
Having a micropython.const identity function, and writing "from micropython
import const" at the start of scripts that use the const feature, allows to
write scripts which are compatible with CPython, and with uPy builds that
don't include const optimisation.

This patch adds such a function and updates the tests to do the import.
</content>
</entry>
</feed>
