<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/python34.py, branch 6.0.0-beta.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-beta.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-beta.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-03-31T22:27:10+00:00</updated>
<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: Automatically skip tests that require eval, exec or frozenset.</title>
<updated>2018-02-14T05:46:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-14T05:46:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6031957473a15f62ecbe59b9d27e58e9d06a4d8a'/>
<id>urn:sha1:6031957473a15f62ecbe59b9d27e58e9d06a4d8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/compile: Raise SyntaxError if positional args are given after */**.</title>
<updated>2017-06-14T08:18:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-14T08:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1e70fda69fcb4991eb60ed43e610f664ea1319e6'/>
<id>urn:sha1:1e70fda69fcb4991eb60ed43e610f664ea1319e6</id>
<content type='text'>
In CPython 3.4 this raises a SyntaxError.  In CPython 3.5+ having a
positional after * is allowed but uPy has the wrong semantics and passes
the arguments in the incorrect order.  To prevent incorrect use of a
function going unnoticed it is important to raise the SyntaxError in uPy,
until the behaviour is fixed to follow CPython 3.5+.
</content>
</entry>
<entry>
<title>tests: Update test suite to be compatible with CPython 3.6.</title>
<updated>2017-01-08T13:19:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-08T13:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=65cadbeb9d78bfc80314ff4f19fdb4aff5e78244'/>
<id>urn:sha1:65cadbeb9d78bfc80314ff4f19fdb4aff5e78244</id>
<content type='text'>
CPython 3.6 has a few changes that, when run on uPy's test suite, give a
different output to CPython 3.5.  uPy currently officially supports the
3.4 language definition, but it's useful to be able to run the test suite
with 3.4/3.5/3.6 versions of CPython.  This patch makes such changes to
support 3.6.
</content>
</entry>
<entry>
<title>tests: Add test for evaluation order of dictionary key/value pairs.</title>
<updated>2015-10-08T12:15:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-08T12:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4fb5ff86eed74e7816f4126d5220830fcbb0a393'/>
<id>urn:sha1:4fb5ff86eed74e7816f4126d5220830fcbb0a393</id>
<content type='text'>
In Python 3.4 the value is evaluated before the key.  In Python 3.5 it's
key then value.
</content>
</entry>
<entry>
<title>tests: Allow tests to pass against CPython 3.5.</title>
<updated>2015-10-02T12:01:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-02T12:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34f26ea862d18c61a66f36f44277bb954bf36cd1'/>
<id>urn:sha1:34f26ea862d18c61a66f36f44277bb954bf36cd1</id>
<content type='text'>
All breaking changes going from 3.4 to 3.5 are contained in
basics/python34.py.
</content>
</entry>
</feed>
