<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/float, branch v1.9.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-06-08T14:23:22+00:00</updated>
<entry>
<title>tests/float/builtin_float_minmax: PEP8 fixes.</title>
<updated>2017-06-08T14:23:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-08T14:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e09420075017423f17073347eacad45ef4d3b860'/>
<id>urn:sha1:e09420075017423f17073347eacad45ef4d3b860</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float: Convert "sys.exit()" to "raise SystemExit".</title>
<updated>2017-06-08T04:00:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-08T04:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fde54350a8d740308d12c2ea4c65fa5bea4f186a'/>
<id>urn:sha1:fde54350a8d740308d12c2ea4c65fa5bea4f186a</id>
<content type='text'>
The latter is shorter and simpler because it doesn't require importing the
sys module.
</content>
</entry>
<entry>
<title>tests/float: Add tests for hashing float and complex numbers.</title>
<updated>2017-04-04T02:14:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-04T02:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=677fb3101525bc655d9fd548b8c2cecfc8deefd2'/>
<id>urn:sha1:677fb3101525bc655d9fd548b8c2cecfc8deefd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float/byte*_construct: Skip on missing array module.</title>
<updated>2017-04-02T21:17:43+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-02T21:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28876d3902c84774018f81204f81b6cc01784855'/>
<id>urn:sha1:28876d3902c84774018f81204f81b6cc01784855</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float: Add tests for round() of inf, nan and large number.</title>
<updated>2017-03-24T00:00:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-23T23:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bfb48c1620256b883804c5998f91b8a897b4b6ff'/>
<id>urn:sha1:bfb48c1620256b883804c5998f91b8a897b4b6ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float: Add tests for math funcs that return ints.</title>
<updated>2017-03-23T12:54:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-23T12:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bacb52aa2dbf8dcb1e96aace28a85108ef0a8245'/>
<id>urn:sha1:bacb52aa2dbf8dcb1e96aace28a85108ef0a8245</id>
<content type='text'>
One should test bigint, inf and nan to make sure all cases are covered.
</content>
</entry>
<entry>
<title>tests/float: Make various tests skippable.</title>
<updated>2017-03-08T23:11:05+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-08T23:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a0cbc108ba9dbdd4cc223486561f3e6a347e2d0a'/>
<id>urn:sha1:a0cbc108ba9dbdd4cc223486561f3e6a347e2d0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/string_format_modulo2: Split off intbig test.</title>
<updated>2017-03-06T23:13:36+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T23:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=88ffe0d5cc697aea61cee950e6388ef9419df7f4'/>
<id>urn:sha1:88ffe0d5cc697aea61cee950e6388ef9419df7f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/float2int*: Suffix with _intbig, don't run on any other int type.</title>
<updated>2017-03-06T15:30:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T15:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b03941f5e3f7b6b722303a7cf7aedcd75a4a13f'/>
<id>urn:sha1:4b03941f5e3f7b6b722303a7cf7aedcd75a4a13f</id>
<content type='text'>
I.e. they don't run successfully with MICROPY_LONGINT_IMPL_NONE
and MICROPY_LONGINT_IMPL_LONGLONG (the problem is that they generate
different output than CPython, TODO to fix that).
</content>
</entry>
<entry>
<title>float/float2int*: Make actually be parsable for MICROPY_LONGINT_IMPL_NONE.</title>
<updated>2017-03-06T15:23:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-03-06T15:23:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=121fb88988fd4b4511476231943e999cf38b2866'/>
<id>urn:sha1:121fb88988fd4b4511476231943e999cf38b2866</id>
<content type='text'>
The use of large literal numbers is a big no-no when it comes to writing
programs which work with different int representations. Also, some checks
are pretty adhoc (e.g using struct module to check for 64-bitness). This
change bases entire detection on sys.maxsize and integer operarions, and
thus more correct, even if longer.

Note that this change doesn't mean that any of these tests can pass with
anything but MPZ - even despite checking for various int representations,
the tests aren't written to be portable among them.
</content>
</entry>
</feed>
