mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Fix an issue with raise statements in the linter.
This commit is contained in:
7
test/static_analysis/keywords.py
Normal file
7
test/static_analysis/keywords.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def raises():
|
||||
raise KeyError()
|
||||
|
||||
|
||||
def wrong_name():
|
||||
#! 6 name-error
|
||||
raise NotExistingException()
|
||||
Reference in New Issue
Block a user