8000 tests/unix/extra_coverage: Add basic tests to import frozen str and mpy. · rch/micropython@8d1c236 · GitHub
[go: up one dir, main page]

10000
Skip to content

Commit 8d1c236

Browse files
committed
tests/unix/extra_coverage: Add basic tests to import frozen str and mpy.
1 parent 1551309 commit 8d1c236

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/unix/extra_coverage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@
1313
print(hash(data[1]))
1414
print(hash(bytes(data[0], 'utf8')))
1515
print(hash(str(data[1], 'utf8')))
16+
17+
# test basic import of frozen scripts
18+
import frzstr1
19+
import frzmpy1

tests/unix/extra_coverage.py.exp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ Warning: test
4848
7300
4949
7300
5050
7300
51+
frzstr1
52+
frzmpy1

0 commit comments

Comments
 (0)
0