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

This commit is contained in:
Daniel Campora 2015-06-24 10:43:09 +02:00
parent e64afde073
commit d709622bd2
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
l = list(range(10000))
l = list(range(1000))
try:
100000000 * l
1000000000 * l
except MemoryError:
print('MemoryError')
print(len(l), l[0], l[-1])

View File

@ -1,2 +1,2 @@
MemoryError
10000 0 9999
1000 0 999