summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-08-11 09:42:39 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-08-11 09:43:07 +0300
commitbfc2092dc55d1faab4a6d7e832005afd61d25c3c (patch)
tree37b1449bd001755fc37fe3d23232658b0c82eca8 /tests
parent7d4a2f773cc6ce24a91e2d210378188f3371e8a6 (diff)
downloadmicropython-bfc2092dc55d1faab4a6d7e832005afd61d25c3c.tar.gz
micropython-bfc2092dc55d1faab4a6d7e832005afd61d25c3c.zip
py/modsys: Initial implementation of sys.getsizeof().
Implemented as a new MP_UNARY_OP. This patch adds support lists, dicts and instances.
Diffstat (limited to 'tests')
-rw-r--r--tests/unix/extra_coverage.py.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp
index 390ff1669d..ab638a632d 100644
--- a/tests/unix/extra_coverage.py.exp
+++ b/tests/unix/extra_coverage.py.exp
@@ -25,7 +25,8 @@ ame__
__name__ path argv version
version_info implementation platform byteorder
maxsize exit stdin stdout
-stderr modules exc_info print_exception
+stderr modules exc_info getsizeof
+print_exception
ementation
# attrtuple
(start=1, stop=2, step=3)