forked from VimPlug/jedi
Tests for python2 print statement.
This commit is contained in:
10
test/static_analysis/python2.py
Normal file
10
test/static_analysis/python2.py
Normal file
@@ -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