<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests, branch master</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-06-03T09:56:35+00:00</updated>
<entry>
<title>Fix up end of file and trailing whitespace.</title>
<updated>2020-06-03T09:56:35+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-05-30T09:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf'/>
<id>urn:sha1:dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf</id>
<content type='text'>
This can be enforced by pre-commit, but correct it separately to make it easier to review.
</content>
</entry>
<entry>
<title>test requires yield, can't run native</title>
<updated>2020-04-14T00:00:16+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-04-13T21:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d1a2a1a33374441cb619f4d2ff5d3a3c503975c6'/>
<id>urn:sha1:d1a2a1a33374441cb619f4d2ff5d3a3c503975c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add .exp files for basics/parser and import/import_override.</title>
<updated>2020-04-01T21:31:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2019-12-13T02:49:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aa10e5c3343d0947eb5a813e8a5025205dc1efd4'/>
<id>urn:sha1:aa10e5c3343d0947eb5a813e8a5025205dc1efd4</id>
<content type='text'>
Because CPython 3.8.0 now produces different output:
- basics/parser.py: CPython does not allow '\\\n' as input.
- import/import_override: CPython imports _io.
</content>
</entry>
<entry>
<title>tests/basics: Provide .exp files for generator tests that fail PEP479.</title>
<updated>2020-03-31T22:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-08-17T05:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=764e65fb11ab6aa80c540a8f9d15237f406d62fd'/>
<id>urn:sha1:764e65fb11ab6aa80c540a8f9d15237f406d62fd</id>
<content type='text'>
PEP479 (see https://www.python.org/dev/peps/pep-0479/) prohibited raising
StopIteration from within a generator (it is turned into a RuntimeError).
This behaviour was introduced in Python 3.5 and in 3.7 was made compulsory.
Until uPy implements PEP479, this patch adds .py.exp files for the relevant
tests so they can be run under Python 3.7.
</content>
</entry>
<entry>
<title>tests: Modify tests that print repr of an exception with 1 arg.</title>
<updated>2020-03-31T22:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-08-17T05:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f0147cf00e3fa8db283adbd1698c60fbe76a62a'/>
<id>urn:sha1:8f0147cf00e3fa8db283adbd1698c60fbe76a62a</id>
<content type='text'>
In Python 3.7 the behaviour of repr() of an exception with one argument
changed: it no longer prints a trailing comma in the argument list.  See
https://bugs.python.org/issue30399

This patch modifies tests that rely on this behaviour to not rely on it.
And the python34.py test is updated to include a test for this behaviour
with a .exp file.
</content>
</entry>
<entry>
<title>tests/basics/int_big_error.py: Use bytearray to test for int overflow.</title>
<updated>2020-03-31T22:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-08-17T05:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c4f81f8f2f68a5dc47d37ba185a2506224d7159'/>
<id>urn:sha1:4c4f81f8f2f68a5dc47d37ba185a2506224d7159</id>
<content type='text'>
In Python 3.7 "1 &gt;&gt; (big int)" is now allowed, it no longer raises an
OverflowError.  So use bytearray to test big-int conversion overflow.
</content>
</entry>
<entry>
<title>tests/basics/set_pop.py: Sort set before printing for consistent output.</title>
<updated>2020-03-31T22:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-08-17T05:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b5fd95897b967e5077527f50657ac4ded39a9aa'/>
<id>urn:sha1:8b5fd95897b967e5077527f50657ac4ded39a9aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2020-03-10T02:13:33+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-03-09T14:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef195d6e1b769f8555d1362d27f98ef9aa84169d'/>
<id>urn:sha1:ef195d6e1b769f8555d1362d27f98ef9aa84169d</id>
<content type='text'>
 * string_pep498_fstring.py: Not compatible with python3.5
 * cmd_parsetree.py: enumerated constants changed
</content>
</entry>
<entry>
<title>lexer: catch concatenation of f'' and '' strings</title>
<updated>2020-03-09T14:03:25+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-03-09T13:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32647cd9b41c26003df0bdc385353f6a24b727d7'/>
<id>urn:sha1:32647cd9b41c26003df0bdc385353f6a24b727d7</id>
<content type='text'>
This turns the "edge case" into a parse-time error.
</content>
</entry>
<entry>
<title>Address dpgeorge feedback - largely simplifications</title>
<updated>2020-03-09T13:16:07+00:00</updated>
<author>
<name>Josh Klar</name>
<email>josh@klar.sh</email>
</author>
<published>2019-09-26T23:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40bc05ee1eafcc2f0b3ed48f212a1526b65163bc'/>
<id>urn:sha1:40bc05ee1eafcc2f0b3ed48f212a1526b65163bc</id>
<content type='text'>
</content>
</entry>
</feed>
