summaryrefslogtreecommitdiffstats
path: root/src/testdir/pyxfile/py2_magic.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/pyxfile/py2_magic.py')
-rw-r--r--src/testdir/pyxfile/py2_magic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/pyxfile/py2_magic.py b/src/testdir/pyxfile/py2_magic.py
new file mode 100644
index 0000000..819892f
--- /dev/null
+++ b/src/testdir/pyxfile/py2_magic.py
@@ -0,0 +1,4 @@
+# requires python 2.x
+
+import sys
+print(sys.version)