summaryrefslogtreecommitdiff
path: root/tests/basics/python34.py
diff options
context:
space:
mode:
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):