<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/string_format.py, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-03-15T13:07:41+00:00</updated>
<entry>
<title>tests: Split large tests into smaller files, to run with a small heap.</title>
<updated>2016-03-15T13:07:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-03-15T13:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ab69ed7dac1bf0ef36238b6289d436e9932180bc'/>
<id>urn:sha1:ab69ed7dac1bf0ef36238b6289d436e9932180bc</id>
<content type='text'>
All tests in basics/ directory can now run and pass using 64-bit unix
port with only a 16k heap (./run-tests --heapsize 16k).  Tests in this
directory should remain small so they can be used for ports with a
small heap.
</content>
</entry>
<entry>
<title>py/objstr: For str.format, add nested/computed fields support.</title>
<updated>2016-02-02T16:25:24+00:00</updated>
<author>
<name>pohmelie</name>
<email>multisosnooley@gmail.com</email>
</author>
<published>2016-01-29T09:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3a29de1dc7649656228460caf72e7841440a373'/>
<id>urn:sha1:e3a29de1dc7649656228460caf72e7841440a373</id>
<content type='text'>
Eg: '{:{}}'.format(123, '&gt;20')

@pohmelie was the original author of this patch, but @dpgeorge made
significant changes to reduce code size and improve efficiency.
</content>
</entry>
<entry>
<title>py/objstr: In str.format, handle case of no format spec for string arg.</title>
<updated>2016-01-04T13:13:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-04T13:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4df8f4925ae6e4875b521f1c35571f0b51e405a'/>
<id>urn:sha1:d4df8f4925ae6e4875b521f1c35571f0b51e405a</id>
<content type='text'>
Handles, eg, "{:&gt;20}".format("foo"), where there is no explicit spec for
the type of the argument.
</content>
</entry>
<entry>
<title>tests: Add tests to improve coverage of objstr.c.</title>
<updated>2015-09-03T22:06:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=25afc7da0db43754f6b4373a10b66551dd3cbd57'/>
<id>urn:sha1:25afc7da0db43754f6b4373a10b66551dd3cbd57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Simplify error handling for bad conversion specifier.</title>
<updated>2015-08-30T11:43:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-30T11:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=000730ecaa24f39ff0459573a293e62d6928d3de'/>
<id>urn:sha1:000730ecaa24f39ff0459573a293e62d6928d3de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Fix error type for badly formatted format specifier.</title>
<updated>2015-08-29T22:13:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-26T14:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ef75f9f750da6f1a7f149bc6cd8c28f1d9cad50'/>
<id>urn:sha1:7ef75f9f750da6f1a7f149bc6cd8c28f1d9cad50</id>
<content type='text'>
Was KeyError, should be ValueError.
</content>
</entry>
<entry>
<title>tests: Add more tests to improve coverage, mostly testing exceptions.</title>
<updated>2015-08-21T11:02:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-21T10:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d007cb890394d9d26c6fafb133532a5175d91eb2'/>
<id>urn:sha1:d007cb890394d9d26c6fafb133532a5175d91eb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add some more tests for bytes, bignum, string and ujson.</title>
<updated>2015-03-14T21:20:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T21:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=26a9975fba2bbd8875f2671495003b9bdcb8d8b2'/>
<id>urn:sha1:26a9975fba2bbd8875f2671495003b9bdcb8d8b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>objstr: Implement kwargs support for str.format().</title>
<updated>2015-01-03T22:26:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-03T22:14:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c1144966417de643d86286dae3189e8c0e09d9c2'/>
<id>urn:sha1:c1144966417de643d86286dae3189e8c0e09d9c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Rename test scripts, changing - to _ for consistency.</title>
<updated>2014-07-05T05:14:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-05T05:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=539681fffd96082ca3b5d18643d4f08f65c47170'/>
<id>urn:sha1:539681fffd96082ca3b5d18643d4f08f65c47170</id>
<content type='text'>
From now on, all new tests must use underscore.

Addresses issue #727.
</content>
</entry>
</feed>
