On Jun 13, 2013 2:40 PM, "Bram Moolenaar" <[email protected]> wrote:
>
>
> ZyX wrote:
>
> > > > # HG changeset patch
> > > > # User ZyX <[email protected]>
> > > > # Date 1371036594 -14400
> > > > #      Wed Jun 12 15:29:54 2013 +0400
> > > > # Branch python-path
> > > > # Node ID 27aa091d5fa525fd4ba97b4b68dc62e64e8bd3a0
> > > > # Parent  643f64bbd9386d746313a7678cfa08826b4a5122
> > > > Use the same method for python3 as for python2
> > >
> > > Thanks for the updates.  Unfortunately, now both test 86 and 87 fail
for
> > > me.  Previously only test 86 was failing.
> > >
> > > python --version
> > > Python 2.7.3
> > >
> > > python3 --version
> > > Python 3.2.3
> > >
> > > % diff -u testdir/test86.ok testdir/test86.failed
> > > --- testdir/test86.ok   2013-06-12 14:21:28.000000000 +0200
> > > +++ testdir/test86.failed       2013-06-12 14:38:10.000000000 +0200
> > > @@ -1083,9 +1083,6 @@
> > >  vim.current.window = True:TypeError:('expected vim.Window object',)
> > >  vim.current.tabpage = True:TypeError:('expected vim.TabPage object',)
> > >  vim.current.xxx = True:AttributeError:('xxx',)
> > > -2,xx
> > > -before
> > > -after
> > >  vim.command("throw 'abc'"):error:('abc',)
> > >  Exe("throw 'def'"):error:('def',)
> > >  vim.eval("Exe('throw ''ghi''')"):error:('ghi',)
> > >
> > > % diff -u testdir/test87.ok testdir/test87.failed
> > > --- testdir/test87.ok   2013-06-12 14:12:13.000000000 +0200
> > > +++ testdir/test87.failed       2013-06-12 14:38:13.000000000 +0200
> > > @@ -1092,9 +1092,6 @@
> > >  vim.current.window = True:(<class 'TypeError'>, TypeError('expected
vim.Window object',))
> > >  vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected
vim.TabPage object',))
> > >  vim.current.xxx = True:(<class 'AttributeError'>,
AttributeError('xxx',))
> > > -3,xx
> > > -before
> > > -after
> > >  vim.command("throw 'abc'"):(<class 'vim.error'>, error('abc',))
> > >  Exe("throw 'def'"):(<class 'vim.error'>, error('def',))
> > >  vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))
> >
> > Could you show output of :messages right before quitting? It is obvious
> > there was an exception, but I cannot say what it was.
>
> For test 86:
>
> Messages maintainer: Bram Moolenaar <[email protected]>
> E325: ATTENTION
> "test86.in" 1124 lines, 30296 characters
> "Xdotest" [New File] 1113 lines, 30003 characters written
> "Xdotest" [New File] 1113 lines, 30003 characters written
> E484: Can't open file small.vim
> Error detected while processing function Test:
> line  159:
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> vim.error: list is locked
> 8 more lines
> 3 more lines
> Already only one window
> abcdef
> line  741:
> abcdef
> abc
> line  743:
> abc
> 7 more lines
> line 1081:
> Traceback (most recent call last):
>   File "<string>", line 4, in <module>
> ImportError: No module named module
> "test86.in" [Modified][Not edited] line 1554 of 2214 --70%-- col
>
>
> Test 87:
>
> Messages maintainer: Bram Moolenaar <[email protected]>
> E325: ATTENTION
> "test87.in" 1080 lines, 29342 characters
> "Xdotest" [New File] 1074 lines, 29258 characters written
> "Xdotest" [New File] 1074 lines, 29258 characters written
> E484: Can't open file small.vim
> Error detected while processing function Test:
> line  158:
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> vim.error: list is locked
> 8 more lines
> 3 more lines
> Already only one window
> abcdef
> line  706:
> abcdef
> abc
> line  708:
> abc
> 7 more lines
> line 1043:
> Traceback (most recent call last):
>   File "<string>", line 4, in <module>
> ImportError: No module named module
> "test87.in" [Modified][Not edited] line 1499 of 2179 --68%-- col 1

Some files are missing in the diff, but [present](
https://bitbucket.org/ZyX_I/vim/commits/a1b8a5ddecec70085e7e62f8ea9bc6c46ecea530#chg-src/testdir/python_before/before_1.py)
in the commit. diff -c should be missing them: with -N flag used they are
considered not changed (-N treats missing files as empty ... and added
files are also empty). But hg export ... I did not expect such failure.

> --
> hundred-and-one symptoms of being an internet addict:
> 177. You log off of your system because it's time to go to work.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
\\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\
> \\\  an exciting new programming language -- http://www.Zimbu.org
 ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
 ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui