diff --git a/test/static_analysis/python2.py b/test/static_analysis/python2.py new file mode 100644 index 00000000..ad871f1c --- /dev/null +++ b/test/static_analysis/python2.py @@ -0,0 +1,10 @@ +""" +Some special cases of Python 2. +""" + +# print is syntax: +print 1 +print(1) + +#! 6 name-error +print NOT_DEFINED