summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/dict1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-12 23:38:30 +0000
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-06 05:59:46 +0200
commit14848ffa1266bfb6f573968ed9ef6862a20bf37a (patch)
tree5242a660cab1ccae7905cc65ea6b429a88db967b /tests/basics/dict1.py
parent52d7685d9a933514a928c2233144082ad7cceb5a (diff)
downloadmicropython-14848ffa1266bfb6f573968ed9ef6862a20bf37a.tar.gz
micropython-14848ffa1266bfb6f573968ed9ef6862a20bf37a.zip
tests: Reduce large object allocations so tests can run with small heap.
Diffstat (limited to 'tests/basics/dict1.py')
-rw-r--r--tests/basics/dict1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basics/dict1.py b/tests/basics/dict1.py
index 1356cd4280..f189266b4d 100644
--- a/tests/basics/dict1.py
+++ b/tests/basics/dict1.py
@@ -12,7 +12,7 @@ print(d)
print(d[1])
x = 1
-while x < 1000:
+while x < 100:
d[x] = x
x += 1
-print(d[500])
+print(d[50])