diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-14 16:46:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-14 16:46:44 +1100 |
commit | 6031957473a15f62ecbe59b9d27e58e9d06a4d8a (patch) | |
tree | c095f5ae6ae4bbc63c607f697d199d6ce199c18c /tests/micropython/heapalloc_iter.py | |
parent | 24c513cbc31fcc9df2ceda1666b1e1a82879a95e (diff) |
tests: Automatically skip tests that require eval, exec or frozenset.
Diffstat (limited to 'tests/micropython/heapalloc_iter.py')
-rw-r--r-- | tests/micropython/heapalloc_iter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc_iter.py b/tests/micropython/heapalloc_iter.py index 30ac82e14..163e17211 100644 --- a/tests/micropython/heapalloc_iter.py +++ b/tests/micropython/heapalloc_iter.py @@ -1,7 +1,8 @@ # test that iterating doesn't use the heap try: + frozenset import array -except ImportError: +except (NameError, ImportError): print("SKIP") raise SystemExit |