summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-04 17:19:16 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-04 17:19:16 +0200
commit343ca1e63ae90b13af8d0a71f6ed6fc5a6284e33 (patch)
tree4c266a09defd78f88c7b582fca99b5cdf58d3b0c /tests/basics
parent51af362e31263a1aabbc179489bc99618cd4c6f0 (diff)
downloadmicropython-343ca1e63ae90b13af8d0a71f6ed6fc5a6284e33.tar.gz
micropython-343ca1e63ae90b13af8d0a71f6ed6fc5a6284e33.zip
objarray: Make sure that longint works as bytearray size.
Diffstat (limited to 'tests/basics')
-rw-r--r--tests/basics/bytearray_longint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basics/bytearray_longint.py b/tests/basics/bytearray_longint.py
new file mode 100644
index 0000000000..334eabe122
--- /dev/null
+++ b/tests/basics/bytearray_longint.py
@@ -0,0 +1 @@
+print(bytearray(2**65 - (2**65 - 1)))