You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
4 years ago
|
# tests meminfo functions in micropython module
|
||
|
|
||
|
import micropython
|
||
|
|
||
|
# these functions are not always available
|
||
|
if not hasattr(micropython, 'mem_info'):
|
||
|
print('SKIP')
|
||
|
else:
|
||
|
micropython.mem_info()
|
||
|
micropython.mem_info(1)
|
||
|
micropython.qstr_info()
|
||
|
micropython.qstr_info(1)
|