mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-18 19:45:57 +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
|
#! 13 name-error
|
||||||
class_attr = a
|
class_attr = a
|
||||||
|
|
||||||
Cls().defined_lookup('')
|
Cls(1).defined_lookup('')
|
||||||
|
|
||||||
c = Cls()
|
c = Cls(1)
|
||||||
c.class_attr
|
c.class_attr
|
||||||
Cls.class_attr
|
Cls.class_attr
|
||||||
#! 4 attribute-error
|
#! 4 attribute-error
|
||||||
|
|||||||
Reference in New Issue
Block a user