summaryrefslogtreecommitdiff
path: root/tests/micropython/viper_error.py
AgeCommit message (Collapse)Author
2024-03-19py/emitnative: Implement viper unary ops positive, negative and invert.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-06-27py/emitnative: Implement binary operations for viper uint operands.Damien George
uint types in viper mode can now be used for all binary operators except floor-divide and modulo. Fixes issue #1847 and issue #6177. Signed-off-by: Damien George <damien@micropython.org>
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.
2018-09-15py/emitnative: Support arbitrary number of arguments to viper functions.Damien George
2017-03-14tests/micropython/viper_error: Add more tests to improve coverage.Damien George
2015-10-08py/emitnative: Raise ViperTypeError for unsupported unary ops.Damien George
2015-04-22tests: Add more tests for viper, including tests for ViperTypeError's.Damien George
2015-03-25tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George
This is intended to improve coverage of the test suite.