From: Bram Moolenaar Date: Wed, 12 Mar 2014 14:26:40 +0000 (+0100) Subject: updated for version 7.4.195 X-Git-Tag: v7.4.195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=038e5d47660b1b6ffe9005a4bcc51c88a3b38416;p=vim updated for version 7.4.195 Problem: Python tests fail. Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro Muraoka) --- diff --git a/src/testdir/test86.in b/src/testdir/test86.in index ab5541faf..b1692939a 100644 --- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -675,7 +675,7 @@ except ImportError: # Check GCing iterator that was not fully exhausted i = iter(vim.buffers) cb.append('i:' + str(next(i))) -# and also check creating more then one iterator at a time +# and also check creating more than one iterator at a time i2 = iter(vim.buffers) cb.append('i2:' + str(next(i2))) cb.append('i:' + str(next(i))) diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok index 257a5ee4c..8edb74997 100644 --- a/src/testdir/test86.ok +++ b/src/testdir/test86.ok @@ -882,11 +882,11 @@ ll[1:100] = "abcJ":error:('list is locked',) l[:] = FailingIter():NotImplementedError:('iter',) l[:] = FailingIterNext():NotImplementedError:('next',) <<< Finished -nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater then 2 to extended slice',) +nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',) ('a', 'b', 'c', 'O') nel[1:10:2] = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',) ('a', 'b', 'c', 'O') -nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater then 0 to extended slice',) +nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',) ('a', 'b', 'c', 'O') nel[:] = FailingIterNextN(2):NotImplementedError:('next N',) ('a', 'b', 'c', 'O') @@ -1233,8 +1233,8 @@ vim.buffers[100000000]:KeyError:(100000000,) >>> Testing NumberToLong using vim.buffers[%s] vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) -vim.buffers[-1]:ValueError:('number must be greater then zero',) -vim.buffers[0]:ValueError:('number must be greater then zero',) +vim.buffers[-1]:ValueError:('number must be greater than zero',) +vim.buffers[0]:ValueError:('number must be greater than zero',) <<< Finished > Current >> CurrentGetattr diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 1515a906b..9111a499b 100644 --- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -664,7 +664,7 @@ py3 << EOF # Check GCing iterator that was not fully exhausted i = iter(vim.buffers) cb.append('i:' + str(next(i))) -# and also check creating more then one iterator at a time +# and also check creating more than one iterator at a time i2 = iter(vim.buffers) cb.append('i2:' + str(next(i2))) cb.append('i:' + str(next(i))) diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index d1ec84c6b..e616544b5 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -882,11 +882,11 @@ ll[1:100] = "abcJ":(, error('list is locked',)) l[:] = FailingIter():(, NotImplementedError('iter',)) l[:] = FailingIterNext():(, NotImplementedError('next',)) <<< Finished -nel[1:10:2] = "abcK":(, ValueError('attempt to assign sequence of size greater then 2 to extended slice',)) +nel[1:10:2] = "abcK":(, ValueError('attempt to assign sequence of size greater than 2 to extended slice',)) (b'a', b'b', b'c', b'O') nel[1:10:2] = "a":(, ValueError('attempt to assign sequence of size 1 to extended slice of size 2',)) (b'a', b'b', b'c', b'O') -nel[1:1:-1] = "a":(, ValueError('attempt to assign sequence of size greater then 0 to extended slice',)) +nel[1:1:-1] = "a":(, ValueError('attempt to assign sequence of size greater than 0 to extended slice',)) (b'a', b'b', b'c', b'O') nel[:] = FailingIterNextN(2):(, NotImplementedError('next N',)) (b'a', b'b', b'c', b'O') @@ -1233,8 +1233,8 @@ vim.buffers[100000000]:(, KeyError(100000000,)) >>> Testing NumberToLong using vim.buffers[%s] vim.buffers[[]]:(, TypeError('expected int() or something supporting coercing to int(), but got list',)) vim.buffers[None]:(, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) -vim.buffers[-1]:(, ValueError('number must be greater then zero',)) -vim.buffers[0]:(, ValueError('number must be greater then zero',)) +vim.buffers[-1]:(, ValueError('number must be greater than zero',)) +vim.buffers[0]:(, ValueError('number must be greater than zero',)) <<< Finished > Current >> CurrentGetattr diff --git a/src/version.c b/src/version.c index 4b213685c..035b124b4 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 195, /**/ 194, /**/