mirror of
https://github.com/davidhalter/jedi.git
synced 2026-08-02 05:50:50 +08:00
Better testing of classes.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Base(object):
|
||||
class Nested():
|
||||
def foo():
|
||||
pass
|
||||
|
||||
|
||||
class X(Base.Nested):
|
||||
pass
|
||||
|
||||
|
||||
X().foo()
|
||||
#! 4 attribute-error
|
||||
X().bar()
|
||||
Reference in New Issue
Block a user