home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.1250 < prev    next >
Encoding:
Internet Message Format  |  2013-06-25  |  4.1 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1250
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.1250
  11. Problem:    Python tests fail on MS-Windows.
  12. Solution:   Change backslashes to slashes. (Taro Muraoka)
  13. Files:        src/testdir/test86.in, src/testdir/test87.in
  14.  
  15.  
  16. *** ../vim-7.3.1249/src/testdir/test86.in    2013-06-23 16:35:32.000000000 +0200
  17. --- src/testdir/test86.in    2013-06-26 21:43:04.000000000 +0200
  18. ***************
  19. *** 1221,1232 ****
  20.   vim.options['rtp'] = os.getcwd().replace(',', '\\,').replace('\\', '\\\\')
  21.   l = []
  22.   def callback(path):
  23. !     l.append(path[-len('/testdir'):])
  24.   vim.foreach_rtp(callback)
  25.   cb.append(repr(l))
  26.   del l
  27.   def callback(path):
  28. !     return path[-len('/testdir'):]
  29.   cb.append(repr(vim.foreach_rtp(callback)))
  30.   del callback
  31.   from module import dir as d
  32. --- 1221,1232 ----
  33.   vim.options['rtp'] = os.getcwd().replace(',', '\\,').replace('\\', '\\\\')
  34.   l = []
  35.   def callback(path):
  36. !     l.append(path[-len('/testdir'):].replace(os.path.sep, '/'))
  37.   vim.foreach_rtp(callback)
  38.   cb.append(repr(l))
  39.   del l
  40.   def callback(path):
  41. !     return path[-len('/testdir'):].replace(os.path.sep, '/')
  42.   cb.append(repr(vim.foreach_rtp(callback)))
  43.   del callback
  44.   from module import dir as d
  45. ***************
  46. *** 1239,1247 ****
  47.   import topmodule as tm
  48.   import topmodule.submodule as tms
  49.   import topmodule.submodule.subsubmodule.subsubsubmodule as tmsss
  50. ! cb.append(tm.__file__.replace('.pyc', '.py')[-len('modulex/topmodule/__init__.py'):])
  51. ! cb.append(tms.__file__.replace('.pyc', '.py')[-len('modulex/topmodule/submodule/__init__.py'):])
  52. ! cb.append(tmsss.__file__.replace('.pyc', '.py')[-len('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])
  53.   del before
  54.   del after
  55.   del d
  56. --- 1239,1247 ----
  57.   import topmodule as tm
  58.   import topmodule.submodule as tms
  59.   import topmodule.submodule.subsubmodule.subsubsubmodule as tmsss
  60. ! cb.append(tm.__file__.replace('.pyc', '.py').replace(os.path.sep, '/')[-len('modulex/topmodule/__init__.py'):])
  61. ! cb.append(tms.__file__.replace('.pyc', '.py').replace(os.path.sep, '/')[-len('modulex/topmodule/submodule/__init__.py'):])
  62. ! cb.append(tmsss.__file__.replace('.pyc', '.py').replace(os.path.sep, '/')[-len('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])
  63.   del before
  64.   del after
  65.   del d
  66. *** ../vim-7.3.1249/src/testdir/test87.in    2013-06-23 16:35:32.000000000 +0200
  67. --- src/testdir/test87.in    2013-06-26 21:44:25.000000000 +0200
  68. ***************
  69. *** 1188,1196 ****
  70.   import topmodule as tm
  71.   import topmodule.submodule as tms
  72.   import topmodule.submodule.subsubmodule.subsubsubmodule as tmsss
  73. ! cb.append(tm.__file__[-len('modulex/topmodule/__init__.py'):])
  74. ! cb.append(tms.__file__[-len('modulex/topmodule/submodule/__init__.py'):])
  75. ! cb.append(tmsss.__file__[-len('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])
  76.   del before
  77.   del after
  78.   del d
  79. --- 1188,1196 ----
  80.   import topmodule as tm
  81.   import topmodule.submodule as tms
  82.   import topmodule.submodule.subsubmodule.subsubsubmodule as tmsss
  83. ! cb.append(tm.__file__.replace(os.path.sep, '/')[-len('modulex/topmodule/__init__.py'):])
  84. ! cb.append(tms.__file__.replace(os.path.sep, '/')[-len('modulex/topmodule/submodule/__init__.py'):])
  85. ! cb.append(tmsss.__file__.replace(os.path.sep, '/')[-len('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])
  86.   del before
  87.   del after
  88.   del d
  89. *** ../vim-7.3.1249/src/version.c    2013-06-26 20:04:28.000000000 +0200
  90. --- src/version.c    2013-06-26 21:44:00.000000000 +0200
  91. ***************
  92. *** 730,731 ****
  93. --- 730,733 ----
  94.   {   /* Add new patch number below this line */
  95. + /**/
  96. +     1250,
  97.   /**/
  98.  
  99. -- 
  100. You were lucky to have a LAKE! There were a hundred and sixty of
  101. us living in a small shoebox in the middle of the road.
  102.  
  103.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  104. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  105. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  106.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  107.