Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
8d1c236a
Commit
8d1c236a
authored
Jan 05, 2017
by
Damien George
Browse files
tests/unix/extra_coverage: Add basic tests to import frozen str and mpy.
parent
15513095
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/unix/extra_coverage.py
View file @
8d1c236a
...
...
@@ -13,3 +13,7 @@ print(hash(data[0]))
print
(
hash
(
data
[
1
]))
print
(
hash
(
bytes
(
data
[
0
],
'utf8'
)))
print
(
hash
(
str
(
data
[
1
],
'utf8'
)))
# test basic import of frozen scripts
import
frzstr1
import
frzmpy1
tests/unix/extra_coverage.py.exp
View file @
8d1c236a
...
...
@@ -48,3 +48,5 @@ Warning: test
7300
7300
7300
frzstr1
frzmpy1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment