Commit d709622b authored by Daniel Campora's avatar Daniel Campora
Browse files

tests: Adapt basics/memoryerror.py for ports with lower heap sizes.

parent e64afde0
l = list(range(10000))
l = list(range(1000))
try:
100000000 * l
1000000000 * l
except MemoryError:
print('MemoryError')
print(len(l), l[0], l[-1])
MemoryError
10000 0 9999
1000 0 999
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment