summaryrefslogtreecommitdiffstats
path: root/src/testdir/test86.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-29 22:15:30 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-29 22:15:30 +0200
commit9e822c00b1fdf3e0604dbb520f593d8de6c15098 (patch)
tree2bfb2b78ea873331cc74f1d32183114b391c9aaf /src/testdir/test86.in
parent3e734ea2c7d6bc78cf5d2851c1e4ddbad2e028d1 (diff)
updated for version 7.3.1044v7.3.1044
Problem: Python: No {Buffer,TabPage,Window}.valid attributes. Solution: Python patch 5: add .valid (ZyX)
Diffstat (limited to 'src/testdir/test86.in')
-rw-r--r--src/testdir/test86.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test86.in b/src/testdir/test86.in
index ae90b27cf4..267657c0aa 100644
--- a/src/testdir/test86.in
+++ b/src/testdir/test86.in
@@ -513,6 +513,7 @@ for _b in vim.buffers:
if _b is not cb:
vim.command('bwipeout! ' + str(_b.number))
del _b
+cb.append('valid: b:%s, cb:%s' % (repr(b.valid), repr(cb.valid)))
for expr in ('b[1]','b[:] = ["A", "B"]','b[:]','b.append("abc")', 'b.name = "!"'):
try:
exec(expr)
@@ -663,9 +664,13 @@ cb.append('Current tab page: ' + repr(vim.current.tabpage))
cb.append('Current window: ' + repr(vim.current.window))
cb.append('Current buffer: ' + repr(vim.current.buffer))
cb.append('Current line: ' + repr(vim.current.line))
+ws = list(vim.windows)
+ts = list(vim.tabpages)
for b in vim.buffers:
if b is not cb:
vim.command('bwipeout! ' + str(b.number))
+cb.append('w.valid: ' + repr([w.valid for w in ws]))
+cb.append('t.valid: ' + repr([t.valid for t in ts]))
EOF
:tabonly!
:only!