diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-01-05 00:16:29 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-01-05 00:16:29 +0300 |
commit | 26f00ff154e68f623bd312a78f92051fea2f6d4e (patch) | |
tree | 6a0268eb4dae8af5f11f2c54196a2e53255e7b48 /tests/feature_check/set_check.py | |
parent | eac22e29a5844e5aa5c865c2e73900e6ef039ad6 (diff) | |
download | micropython-26f00ff154e68f623bd312a78f92051fea2f6d4e.tar.gz micropython-26f00ff154e68f623bd312a78f92051fea2f6d4e.zip |
tests/run-tests: Allow to skip set tests.
If sets are not enabled, set literals lead to SyntaxError during parsing,
so it requires feature_check. Set tests are skipped based on set_*.py
pattern.
Diffstat (limited to 'tests/feature_check/set_check.py')
-rw-r--r-- | tests/feature_check/set_check.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/feature_check/set_check.py b/tests/feature_check/set_check.py new file mode 100644 index 0000000000..ec186cc5b9 --- /dev/null +++ b/tests/feature_check/set_check.py @@ -0,0 +1,2 @@ +# check if set literal syntax is supported +{1} |