mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Add tests to show that #516 is not working, yet
This commit is contained in:
@@ -67,6 +67,18 @@ class X(): pass
|
|||||||
#? type
|
#? type
|
||||||
type(X)
|
type(X)
|
||||||
|
|
||||||
|
# -----------------
|
||||||
|
# type() calls with multiple parameters
|
||||||
|
# -----------------
|
||||||
|
|
||||||
|
X = type('X', (object,), dict(a=1))
|
||||||
|
|
||||||
|
# Doesn't work yet.
|
||||||
|
#?
|
||||||
|
X.a
|
||||||
|
#?
|
||||||
|
X
|
||||||
|
|
||||||
if os.path.isfile():
|
if os.path.isfile():
|
||||||
#? ['abspath']
|
#? ['abspath']
|
||||||
fails = os.path.abspath
|
fails = os.path.abspath
|
||||||
|
|||||||
Reference in New Issue
Block a user