Adding new stuff
This commit is contained in:
parent
a1687a2e5b
commit
f8f54ab17a
1580 changed files with 205558 additions and 0 deletions
12
bundle/jedi-vim/jedi/test/test_integration_analysis.py
Normal file
12
bundle/jedi-vim/jedi/test/test_integration_analysis.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"""
|
||||
Test of keywords and ``jedi.keywords``
|
||||
"""
|
||||
from jedi import Script
|
||||
|
||||
|
||||
def test_issue436():
|
||||
code = "bar = 0\nbar += 'foo' + 4"
|
||||
errors = set(repr(e) for e in Script(code)._analysis())
|
||||
assert len(errors) == 2
|
||||
assert '<Error type-error-operation: None@2,4>' in errors
|
||||
assert '<Error type-error-operation: None@2,13>' in errors
|
||||
Loading…
Add table
Add a link
Reference in a new issue