mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
improved static analysis found mistakes in its own test suite
This commit is contained in:
@@ -26,9 +26,9 @@ class Cls():
|
||||
#! 13 name-error
|
||||
class_attr = a
|
||||
|
||||
Cls().defined_lookup('')
|
||||
Cls(1).defined_lookup('')
|
||||
|
||||
c = Cls()
|
||||
c = Cls(1)
|
||||
c.class_attr
|
||||
Cls.class_attr
|
||||
#! 4 attribute-error
|
||||
|
||||
Reference in New Issue
Block a user