summaryrefslogtreecommitdiff
path: root/tests/basics/python34.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-07-30 12:33:44 -0700
committerGitHub <noreply@github.com>2018-07-30 12:33:44 -0700
commita6d94b68453b8535398ff0b61cd6c4a0c7f77f8b (patch)
tree8defd6392975b8145dc11f0cce9c39a4e440b32a /tests/basics/python34.py
parent433a29bb70d51abb84c77a911ced43c6ff14706e (diff)
parentb1006170f1dcfa3a9499ef31c19c8f20736b136a (diff)
Merge pull request #1068 from dhalbert/micropython-25ae98f-merge
Micropython 25ae98f merge
Diffstat (limited to 'tests/basics/python34.py')
-rw-r--r--tests/basics/python34.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/python34.py b/tests/basics/python34.py
index d5cc59ad6..36531f11c 100644
--- a/tests/basics/python34.py
+++ b/tests/basics/python34.py
@@ -1,5 +1,11 @@
# tests that differ when running under Python 3.4 vs 3.5/3.6
+try:
+ exec
+except NameError:
+ print("SKIP")
+ raise SystemExit
+
# from basics/fun_kwvarargs.py
# test evaluation order of arguments (in 3.4 it's backwards, 3.5 it's fixed)
def f4(*vargs, **kwargs):