Tests for python2 print statement.
This commit is contained in:
1 parent
cc3c538d9d
commit
e73b1a683a
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
Some special cases of Python 2.
|
||||
"""
|
||||
|
||||
# print is syntax:
|
||||
print 1
|
||||
print(1)
|
||||
|
||||
#! 6 name-error
|
||||
print NOT_DEFINED
|
||||
Reference in new issue
Block a user