Mercurial > vim
comparison src/testdir/test86.ok @ 14467:16cccc953909 v8.1.0247
patch 8.1.0247: Python: error message for failing import is incorrect
commit https://github.com/vim/vim/commit/447bd5a346b5c4bf4d91280700bdb4b45e0aa667
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 7 19:45:27 2018 +0200
patch 8.1.0247: Python: error message for failing import is incorrect
Problem: Python: error message for failing import is incorrect.
Solution: Adjust how modules are loaded. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/3162)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 07 Aug 2018 20:00:06 +0200 |
parents | 30a0068f6167 |
children | e791f29affae |
comparison
equal
deleted
inserted
replaced
14466:23c6efafa95d | 14467:16cccc953909 |
---|---|
699 vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',) | 699 vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',) |
700 vim.foreach_rtp(FailingCall()):NotImplementedError:('call',) | 700 vim.foreach_rtp(FailingCall()):NotImplementedError:('call',) |
701 vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',) | 701 vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',) |
702 > import | 702 > import |
703 import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',) | 703 import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',) |
704 import failing_import:ImportError:('No module named failing_import',) | 704 import failing_import:ImportError:() |
705 import failing:NotImplementedError:() | 705 import failing:NotImplementedError:() |
706 > Options | 706 > Options |
707 >> OptionsItem | 707 >> OptionsItem |
708 vim.options["abcQ"]:KeyError:('abcQ',) | 708 vim.options["abcQ"]:KeyError:('abcQ',) |
709 vim.options[""]:ValueError:('empty keys are not allowed',) | 709 vim.options[""]:ValueError:('empty keys are not allowed',) |