[Pydev-cvs] org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion PythonComple
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-05 01:31:16
|
Update of /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1588/tests_completions/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionWithBuiltinsTest.java Log Message: Handling __bootstrap__ module (loads compiled module instead of source module). Index: PythonCompletionWithBuiltinsTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion/PythonCompletionWithBuiltinsTest.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PythonCompletionWithBuiltinsTest.java 4 May 2008 16:49:31 -0000 1.13 --- PythonCompletionWithBuiltinsTest.java 5 May 2008 01:31:22 -0000 1.14 *************** *** 28,32 **** PythonCompletionWithBuiltinsTest builtins = new PythonCompletionWithBuiltinsTest(); builtins.setUp(); ! builtins.testNumpy(); builtins.tearDown(); --- 28,32 ---- PythonCompletionWithBuiltinsTest builtins = new PythonCompletionWithBuiltinsTest(); builtins.setUp(); ! builtins.testPreferCompiledOnBootstrap2(); builtins.tearDown(); *************** *** 240,243 **** --- 240,256 ---- } + public void testPreferCompiledOnBootstrap() throws BadLocationException, IOException, Exception{ + String s = ""+ + "from extendable.bootstrap_dll import umath\n"+ + "umath."; + requestCompl(s, s.length(), -1, new String[]{"less"}); + } + + public void testPreferCompiledOnBootstrap2() throws BadLocationException, IOException, Exception{ + String s = ""+ + "from extendable.bootstrap_dll.umath import "; + requestCompl(s, s.length(), -1, new String[]{"less"}); + } + public void testWxPython1() throws BadLocationException, IOException, Exception{ if(TestDependent.HAS_WXPYTHON_INSTALLED){ //we can only test what we have |