54 lines
3.2 KiB
Diff
54 lines
3.2 KiB
Diff
--- a/src/testdir/test86.ok
|
|
+++ b/src/testdir/test86.ok
|
|
@@ -882,11 +882,11 @@
|
|
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 @@
|
|
>>> 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
|
|
--- a/src/testdir/test87.ok
|
|
+++ b/src/testdir/test87.ok
|
|
@@ -882,11 +882,11 @@
|
|
l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',))
|
|
l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',))
|
|
<<< Finished
|
|
-nel[1:10:2] = "abcK":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 2 to extended slice',))
|
|
+nel[1:10:2] = "abcK":(<class 'ValueError'>, 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":(<class 'ValueError'>, 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":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater then 0 to extended slice',))
|
|
+nel[1:1:-1] = "a":(<class 'ValueError'>, ValueError('attempt to assign sequence of size greater than 0 to extended slice',))
|
|
(b'a', b'b', b'c', b'O')
|
|
nel[:] = FailingIterNextN(2):(<class 'NotImplementedError'>, NotImplementedError('next N',))
|
|
(b'a', b'b', b'c', b'O')
|
|
@@ -1233,8 +1233,8 @@
|
|
>>> Testing NumberToLong using vim.buffers[%s]
|
|
vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',))
|
|
vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',))
|
|
-vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
|
|
-vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater then zero',))
|
|
+vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
|
|
+vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater than zero',))
|
|
<<< Finished
|
|
> Current
|
|
>> CurrentGetattr
|