summaryrefslogtreecommitdiff
path: root/tests/basics/struct_micropython.py
AgeCommit message (Collapse)Author
2017-06-10tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-03-14tests/basics/struct_micropython: Add test for 'S' typecode in ustruct.Damien George
The 'S' typecode is a uPy extension so it should be grouped with the other extension (namely 'O' typecode). Testing 'S' needs uctypes which is an extmod module and not always available, so this test is made optional and will only be run on ports that have (u)struct and uctypes. Otherwise it will be silently skipped.
2016-12-28tests/basics: Add tests to improve coverage of binary.c.Rami Ali