Skip to content

Commit d709622

Browse files
author
Daniel Campora
committed
tests: Adapt basics/memoryerror.py for ports with lower heap sizes.
1 parent e64afde commit d709622

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/basics/memoryerror.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
l = list(range(10000))
1+
l = list(range(1000))
22
try:
3-
100000000 * l
3+
1000000000 * l
44
except MemoryError:
55
print('MemoryError')
66
print(len(l), l[0], l[-1])

‎tests/basics/memoryerror.py.exp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
MemoryError
2-
10000 0 9999
2+
1000 0 999

0 commit comments

Comments
 (0)