From e73b1a683a0bad370557fa1d0b98334e8dfff7a7 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 18 Dec 2015 17:57:19 +0100 Subject: [PATCH] Tests for python2 print statement. --- test/static_analysis/python2.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/static_analysis/python2.py 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