mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests: Automatically skip tests that require eval, exec or frozenset.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user