summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/frozen/README.md2
-rw-r--r--tests/frozen/frozentest.mpybin0 -> 196 bytes
-rw-r--r--tests/frozen/frozentest.py7
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/frozen/README.md b/tests/frozen/README.md
new file mode 100644
index 000000000..bd786d5a3
--- /dev/null
+++ b/tests/frozen/README.md
@@ -0,0 +1,2 @@
+This is a .mpy built against the current .mpy version that can be used to test
+freezing without a dependency on mpy-cross.
diff --git a/tests/frozen/frozentest.mpy b/tests/frozen/frozentest.mpy
new file mode 100644
index 000000000..99581617a
--- /dev/null
+++ b/tests/frozen/frozentest.mpy
Binary files differ
diff --git a/tests/frozen/frozentest.py b/tests/frozen/frozentest.py
new file mode 100644
index 000000000..78cdd60bf
--- /dev/null
+++ b/tests/frozen/frozentest.py
@@ -0,0 +1,7 @@
+print("uPy")
+print("a long string that is not interned")
+print("a string that has unicode αβγ chars")
+print(b"bytes 1234\x01")
+print(123456789)
+for i in range(4):
+ print(i)