mirror of
https://github.com/micropython/micropython.git
synced 2025-09-07 10:20:52 +02:00
Ports that now run the stress tests, that didn't prior to this commit are: cc3200, esp8266, minimal, nrf, renesas-ra, samd, qemu, webassembly. Signed-off-by: Damien George <damien@micropython.org>
13 lines
203 B
Python
13 lines
203 B
Python
# copying a large dictionary
|
|
|
|
try:
|
|
a = {i: 2 * i for i in range(1000)}
|
|
except MemoryError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
b = a.copy()
|
|
for i in range(1000):
|
|
print(i, b[i])
|
|
print(len(b))
|