summaryrefslogtreecommitdiff
path: root/tests/extmod/ubinascii_micropython.py
AgeCommit message (Collapse)Author
2022-08-12tests/extmod/ubinascii: Add tests for bytes.hex etc.Jim Mussared
Also make the sep test not micropython-specific. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2017-07-03extmod/modubinascii: Add check for empty buffer passed to hexlify.Damien George
Previous to this patch hexlify(b'', b':') would lead to a bad crash due to the computed length of the result being -1=0xffffffff.
2017-06-10tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-02-15tests/extmod: Make tests skippable.Paul Sokolovsky
2016-12-29tests/extmod: Improve ubinascii.c test coverage.Rami Ali