diff options
author | Damien George <damien@micropython.org> | 2024-02-12 23:07:48 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-16 14:17:01 +1100 |
commit | 5a3dd8c79185be07b7bf68d51ccc8f98ced59182 (patch) | |
tree | 25a24d1f2e2eba7f5b45e6ec1a8200f47e20b921 /tests | |
parent | a3a73b64a3be5b5cc2b50444c819d81f8347d52f (diff) | |
download | micropython-5a3dd8c79185be07b7bf68d51ccc8f98ced59182.tar.gz micropython-5a3dd8c79185be07b7bf68d51ccc8f98ced59182.zip |
tests/ports/unix: Add coverage test for frozen functions and generators.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ports/unix/extra_coverage.py | 3 | ||||
-rw-r--r-- | tests/ports/unix/extra_coverage.py.exp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ports/unix/extra_coverage.py b/tests/ports/unix/extra_coverage.py index 0ea8f7886b..ec68a55508 100644 --- a/tests/ports/unix/extra_coverage.py +++ b/tests/ports/unix/extra_coverage.py @@ -87,6 +87,9 @@ except ZeroDivisionError: # test importing various objects import frzmpy3 +# test importing other things +import frzmpy4 + # test for MP_QSTR_NULL regression from frzqstr import returns_NULL diff --git a/tests/ports/unix/extra_coverage.py.exp b/tests/ports/unix/extra_coverage.py.exp index 3db1c5a63e..adffc2d582 100644 --- a/tests/ports/unix/extra_coverage.py.exp +++ b/tests/ports/unix/extra_coverage.py.exp @@ -201,6 +201,8 @@ ZeroDivisionError X '\x1b' b'\x00\xff' +frzmpy4 1 +frzmpy4 2 NULL uPy a long string that is not interned |