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.4 / 7.4.195 < prev    next >
Encoding:
Internet Message Format  |  2014-03-11  |  7.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.195
  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.4.195 (after 7.4.193)
  11. Problem:    Python tests fail.
  12. Solution:   Change "then" to "than" in more places. (Dominique Pelle, Taro
  13.         Muraoka)
  14. Files:        src/testdir/test86.in, src/testdir/test86.ok,
  15.         src/testdir/test87.in, src/testdir/test87.ok
  16.  
  17.  
  18. *** ../vim-7.4.194/src/testdir/test86.in    2014-02-11 18:47:18.678311042 +0100
  19. --- src/testdir/test86.in    2014-03-12 15:20:41.512708977 +0100
  20. ***************
  21. *** 675,681 ****
  22.   # Check GCing iterator that was not fully exhausted
  23.   i = iter(vim.buffers)
  24.   cb.append('i:' + str(next(i)))
  25. ! # and also check creating more then one iterator at a time
  26.   i2 = iter(vim.buffers)
  27.   cb.append('i2:' + str(next(i2)))
  28.   cb.append('i:' + str(next(i)))
  29. --- 675,681 ----
  30.   # Check GCing iterator that was not fully exhausted
  31.   i = iter(vim.buffers)
  32.   cb.append('i:' + str(next(i)))
  33. ! # and also check creating more than one iterator at a time
  34.   i2 = iter(vim.buffers)
  35.   cb.append('i2:' + str(next(i2)))
  36.   cb.append('i:' + str(next(i)))
  37. *** ../vim-7.4.194/src/testdir/test86.ok    2014-01-14 16:54:53.000000000 +0100
  38. --- src/testdir/test86.ok    2014-03-12 15:19:28.080707851 +0100
  39. ***************
  40. *** 882,892 ****
  41.   l[:] = FailingIter():NotImplementedError:('iter',)
  42.   l[:] = FailingIterNext():NotImplementedError:('next',)
  43.   <<< Finished
  44. ! nel[1:10:2]  = "abcK":ValueError:('attempt to assign sequence of size greater then 2 to extended slice',)
  45.   ('a', 'b', 'c', 'O')
  46.   nel[1:10:2]  = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',)
  47.   ('a', 'b', 'c', 'O')
  48. ! nel[1:1:-1]  = "a":ValueError:('attempt to assign sequence of size greater then 0 to extended slice',)
  49.   ('a', 'b', 'c', 'O')
  50.   nel[:] = FailingIterNextN(2):NotImplementedError:('next N',)
  51.   ('a', 'b', 'c', 'O')
  52. --- 882,892 ----
  53.   l[:] = FailingIter():NotImplementedError:('iter',)
  54.   l[:] = FailingIterNext():NotImplementedError:('next',)
  55.   <<< Finished
  56. ! nel[1:10:2]  = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',)
  57.   ('a', 'b', 'c', 'O')
  58.   nel[1:10:2]  = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',)
  59.   ('a', 'b', 'c', 'O')
  60. ! nel[1:1:-1]  = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',)
  61.   ('a', 'b', 'c', 'O')
  62.   nel[:] = FailingIterNextN(2):NotImplementedError:('next N',)
  63.   ('a', 'b', 'c', 'O')
  64. ***************
  65. *** 1233,1240 ****
  66.   >>> Testing NumberToLong using vim.buffers[%s]
  67.   vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
  68.   vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
  69. ! vim.buffers[-1]:ValueError:('number must be greater then zero',)
  70. ! vim.buffers[0]:ValueError:('number must be greater then zero',)
  71.   <<< Finished
  72.   > Current
  73.   >> CurrentGetattr
  74. --- 1233,1240 ----
  75.   >>> Testing NumberToLong using vim.buffers[%s]
  76.   vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
  77.   vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
  78. ! vim.buffers[-1]:ValueError:('number must be greater than zero',)
  79. ! vim.buffers[0]:ValueError:('number must be greater than zero',)
  80.   <<< Finished
  81.   > Current
  82.   >> CurrentGetattr
  83. *** ../vim-7.4.194/src/testdir/test87.in    2014-02-11 18:47:18.678311042 +0100
  84. --- src/testdir/test87.in    2014-03-12 15:21:20.036709567 +0100
  85. ***************
  86. *** 664,670 ****
  87.   # Check GCing iterator that was not fully exhausted
  88.   i = iter(vim.buffers)
  89.   cb.append('i:' + str(next(i)))
  90. ! # and also check creating more then one iterator at a time
  91.   i2 = iter(vim.buffers)
  92.   cb.append('i2:' + str(next(i2)))
  93.   cb.append('i:' + str(next(i)))
  94. --- 664,670 ----
  95.   # Check GCing iterator that was not fully exhausted
  96.   i = iter(vim.buffers)
  97.   cb.append('i:' + str(next(i)))
  98. ! # and also check creating more than one iterator at a time
  99.   i2 = iter(vim.buffers)
  100.   cb.append('i2:' + str(next(i2)))
  101.   cb.append('i:' + str(next(i)))
  102. *** ../vim-7.4.194/src/testdir/test87.ok    2014-01-14 16:54:53.000000000 +0100
  103. --- src/testdir/test87.ok    2014-03-12 15:19:28.080707851 +0100
  104. ***************
  105. *** 882,892 ****
  106.   l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',))
  107.   l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',))
  108.   <<< Finished
  109. ! nel[1:10:2]  = "abcK":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 2 to extended slice',))
  110.   (b'a', b'b', b'c', b'O')
  111.   nel[1:10:2]  = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size 1 to extended slice of size 2',))
  112.   (b'a', b'b', b'c', b'O')
  113. ! nel[1:1:-1]  = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 0 to extended slice',))
  114.   (b'a', b'b', b'c', b'O')
  115.   nel[:] = FailingIterNextN(2):(<class 'NotImplementedError'>, NotImplementedError('next N',))
  116.   (b'a', b'b', b'c', b'O')
  117. --- 882,892 ----
  118.   l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',))
  119.   l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',))
  120.   <<< Finished
  121. ! nel[1:10:2]  = "abcK":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater than 2 to extended slice',))
  122.   (b'a', b'b', b'c', b'O')
  123.   nel[1:10:2]  = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size 1 to extended slice of size 2',))
  124.   (b'a', b'b', b'c', b'O')
  125. ! nel[1:1:-1]  = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater than 0 to extended slice',))
  126.   (b'a', b'b', b'c', b'O')
  127.   nel[:] = FailingIterNextN(2):(<class 'NotImplementedError'>, NotImplementedError('next N',))
  128.   (b'a', b'b', b'c', b'O')
  129. ***************
  130. *** 1233,1240 ****
  131.   >>> Testing NumberToLong using vim.buffers[%s]
  132.   vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',))
  133.   vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',))
  134. ! vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
  135. ! vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
  136.   <<< Finished
  137.   > Current
  138.   >> CurrentGetattr
  139. --- 1233,1240 ----
  140.   >>> Testing NumberToLong using vim.buffers[%s]
  141.   vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',))
  142.   vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',))
  143. ! vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
  144. ! vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
  145.   <<< Finished
  146.   > Current
  147.   >> CurrentGetattr
  148. *** ../vim-7.4.194/src/version.c    2014-03-12 14:54:29.920684895 +0100
  149. --- src/version.c    2014-03-12 15:19:20.016707728 +0100
  150. ***************
  151. *** 740,741 ****
  152. --- 740,743 ----
  153.   {   /* Add new patch number below this line */
  154. + /**/
  155. +     195,
  156.   /**/
  157.  
  158. -- 
  159. Zen Microsystems: we're the om in .commmmmmmmm
  160.  
  161.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  162. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  163. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  164.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  165.