tests/ports/unix: Add coverage test for frozen functions and generators.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -201,6 +201,8 @@ ZeroDivisionError
|
||||
X
|
||||
'\x1b'
|
||||
b'\x00\xff'
|
||||
frzmpy4 1
|
||||
frzmpy4 2
|
||||
NULL
|
||||
uPy
|
||||
a long string that is not interned
|
||||
|
||||
Reference in New Issue
Block a user