comparison src/testdir/test86.in @ 4833:70b1178dec79 v7.3.1163

updated for version 7.3.1163 Problem: Not easy to load Python modules. Solution: Search "python2", "python3" and "pythonx" directories in 'runtimepath' for Python modules. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Mon, 10 Jun 2013 21:27:29 +0200
parents bf917ee1fad2
children d59ff2114733
comparison
equal deleted inserted replaced
4832:54430b55ceff 4833:70b1178dec79
1067 ee('vim.current.window = True') 1067 ee('vim.current.window = True')
1068 ee('vim.current.tabpage = True') 1068 ee('vim.current.tabpage = True')
1069 ee('vim.current.xxx = True') 1069 ee('vim.current.xxx = True')
1070 EOF 1070 EOF
1071 :" 1071 :"
1072 :" Test import TODO: BROKEN
1073 :"py << EOF
1074 :"vim.options['rtp'] = os.getcwd().replace(',', '\\,').replace('\\', '\\\\')
1075 :"from module import dir as d
1076 :"from modulex import ddir
1077 :"cb.append(d + ',' + ddir)
1078 :"EOF
1079 :"
1072 :" Test exceptions 1080 :" Test exceptions
1073 :fun Exe(e) 1081 :fun Exe(e)
1074 : execute a:e 1082 : execute a:e
1075 :endfun 1083 :endfun
1076 py << EOF 1084 py << EOF