From 4feb8f5a3aa5c9818f557c7a83fd3672563d29ed Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 21 Apr 2012 19:35:24 +0200 Subject: [PATCH] import tests --- test/completion/imports.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/completion/imports.py diff --git a/test/completion/imports.py b/test/completion/imports.py new file mode 100644 index 00000000..16bfa907 --- /dev/null +++ b/test/completion/imports.py @@ -0,0 +1,20 @@ + + +import sys +#? ['prefix'] +sys.prefix + +#? ['append'] +sys.path.append + + +# --- builtin math --- + +from math import * +#? ['cos', 'cosh'] +cos + +import os + +#? ['dirname'] +os.path.dirname