From 97526aa320a1004396fc4da5698d25bc7e00aa10 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 2 Aug 2019 22:31:26 +0200 Subject: [PATCH] Add tests to show that #516 is not working, yet --- test/completion/stdlib.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/completion/stdlib.py b/test/completion/stdlib.py index 843b0acf..423212bd 100644 --- a/test/completion/stdlib.py +++ b/test/completion/stdlib.py @@ -67,6 +67,18 @@ class X(): pass #? type 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(): #? ['abspath'] fails = os.path.abspath