tests: Adapt basics/memoryerror.py for ports with lower heap sizes.
This commit is contained in:
parent
e64afde073
commit
d709622bd2
@ -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])
|
||||
|
@ -1,2 +1,2 @@
|
||||
MemoryError
|
||||
10000 0 9999
|
||||
1000 0 999
|
||||
|
Loading…
Reference in New Issue
Block a user