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/basics/fun_calldblstar2.py | |
parent | 24c513cbc31fcc9df2ceda1666b1e1a82879a95e (diff) | |
download | micropython-6031957473a15f62ecbe59b9d27e58e9d06a4d8a.tar.gz micropython-6031957473a15f62ecbe59b9d27e58e9d06a4d8a.zip |
tests: Automatically skip tests that require eval, exec or frozenset.
Diffstat (limited to 'tests/basics/fun_calldblstar2.py')
-rw-r--r-- | tests/basics/fun_calldblstar2.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/fun_calldblstar2.py b/tests/basics/fun_calldblstar2.py index cf982ef5b8..8795eaf159 100644 --- a/tests/basics/fun_calldblstar2.py +++ b/tests/basics/fun_calldblstar2.py @@ -1,5 +1,11 @@ # test passing a string object as the key for a keyword argument +try: + exec +except NameError: + print("SKIP") + raise SystemExit + # they key in this dict is a string object and is not interned args = {'thisisaverylongargumentname': 123} |