Mercurial > vim
comparison src/testdir/test87.ok @ 4982:39980afcf54a v7.3.1236
updated for version 7.3.1236
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Jun 2013 16:35:47 +0200 |
parents | 4ed713442c51 |
children | 5b2c8f3b3906 |
comparison
equal
deleted
inserted
replaced
4981:216a48da3659 | 4982:39980afcf54a |
---|---|
428 b'testdir' | 428 b'testdir' |
429 test87.in | 429 test87.in |
430 > Output | 430 > Output |
431 >> OutputSetattr | 431 >> OutputSetattr |
432 del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",)) | 432 del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",)) |
433 >>> Testing NumberToLong using sys.stdout.softspace = %s | |
433 sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) | 434 sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) |
435 sys.stdout.softspace = None:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) | |
436 sys.stdout.softspace = -1:(<class 'ValueError'>, ValueError('number must be greater or equal to zero',)) | |
437 <<< Finished | |
438 >>> Testing NumberToLong using sys.stderr.softspace = %s | |
439 sys.stderr.softspace = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) | |
440 sys.stderr.softspace = None:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) | |
441 sys.stderr.softspace = -1:(<class 'ValueError'>, ValueError('number must be greater or equal to zero',)) | |
442 <<< Finished | |
434 sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute: attr',)) | 443 sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute: attr',)) |
435 >> OutputWrite | 444 >> OutputWrite |
436 sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) | 445 sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) |
437 >> OutputWriteLines | 446 >> OutputWriteLines |
438 sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) | 447 sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) |
439 sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",)) | 448 sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",)) |
440 >>> Testing *Iter* using sys.stdout.writelines(%s) | 449 >>> Testing *Iter* using sys.stdout.writelines(%s) |
441 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 450 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
442 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 451 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
443 <<< Finished | 452 <<< Finished |
444 > VimCommand | 453 > VimCommand |
454 >>> Testing StringToChars using vim.command(%s) | |
445 vim.command(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 455 vim.command(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
456 vim.command(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
457 vim.command("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
458 <<< Finished | |
459 vim.command("", 2):(<class 'TypeError'>, TypeError('command() takes exactly one argument (2 given)',)) | |
446 > VimToPython | 460 > VimToPython |
447 > VimEval | 461 > VimEval |
462 >>> Testing StringToChars using vim.eval(%s) | |
448 vim.eval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 463 vim.eval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
464 vim.eval(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
465 vim.eval("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
466 <<< Finished | |
467 vim.eval("", FailingTrue()):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) | |
449 > VimEvalPy | 468 > VimEvalPy |
469 >>> Testing StringToChars using vim.bindeval(%s) | |
450 vim.bindeval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 470 vim.bindeval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
471 vim.bindeval(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
472 vim.bindeval("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
473 <<< Finished | |
474 vim.eval("", 2):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) | |
451 > VimStrwidth | 475 > VimStrwidth |
476 >>> Testing StringToChars using vim.strwidth(%s) | |
452 vim.strwidth(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 477 vim.strwidth(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
478 vim.strwidth(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
479 vim.strwidth("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | |
480 <<< Finished | |
481 > VimForeachRTP | |
482 vim.foreach_rtp(None):(<class 'TypeError'>, TypeError("'NoneType' object is not callable",)) | |
483 vim.foreach_rtp(NoArgsCall()):(<class 'TypeError'>, TypeError('__call__() takes exactly 1 positional argument (2 given)',)) | |
484 vim.foreach_rtp(FailingCall()):(<class 'NotImplementedError'>, NotImplementedError('call',)) | |
485 vim.foreach_rtp(int, 2):(<class 'TypeError'>, TypeError('foreach_rtp() takes exactly one argument (2 given)',)) | |
486 > import | |
487 import xxx_no_such_module_xxx:(<class 'ImportError'>, ImportError('No module named xxx_no_such_module_xxx',)) | |
488 import failing_import:(<class 'ImportError'>, ImportError('No module named failing_import',)) | |
489 import failing:(<class 'ImportError'>, ImportError('No module named failing',)) | |
453 > Dictionary | 490 > Dictionary |
454 >> DictionaryConstructor | 491 >> DictionaryConstructor |
455 vim.Dictionary("abcI"):(<class 'ValueError'>, ValueError('expected sequence element of size 2, but got sequence of size 1',)) | 492 vim.Dictionary("abcI"):(<class 'ValueError'>, ValueError('expected sequence element of size 2, but got sequence of size 1',)) |
456 >> DictionarySetattr | 493 >> DictionarySetattr |
457 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) | 494 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) |
458 d.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) | 495 d.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError('bool',)) |
459 vim.vvars.locked = False:(<class 'TypeError'>, TypeError('cannot modify fixed dictionary',)) | 496 vim.vvars.locked = False:(<class 'TypeError'>, TypeError('cannot modify fixed dictionary',)) |
460 d.scope = True:(<class 'AttributeError'>, AttributeError('cannot set attribute scope',)) | 497 d.scope = True:(<class 'AttributeError'>, AttributeError('cannot set attribute scope',)) |
461 d.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) | 498 d.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) |
462 >> _DictionaryItem | 499 >> _DictionaryItem |
463 d.get("a", 2, 3):(<class 'TypeError'>, TypeError('function takes at most 2 arguments (3 given)',)) | 500 d.get("a", 2, 3):(<class 'TypeError'>, TypeError('function takes at most 2 arguments (3 given)',)) |
492 d["a"] = {"abcF" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 529 d["a"] = {"abcF" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
493 d["a"] = {"abcF" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 530 d["a"] = {"abcF" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
494 <<< Finished | 531 <<< Finished |
495 >>> Testing *Iter* using d["a"] = {"abcF" : %s} | 532 >>> Testing *Iter* using d["a"] = {"abcF" : %s} |
496 d["a"] = {"abcF" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 533 d["a"] = {"abcF" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
497 d["a"] = {"abcF" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError()) | 534 d["a"] = {"abcF" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
498 <<< Finished | 535 <<< Finished |
499 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} | 536 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} |
500 d["a"] = {"abcF" : None}:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 537 d["a"] = {"abcF" : None}:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
501 d["a"] = {"abcF" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 538 d["a"] = {"abcF" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
502 d["a"] = {"abcF" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 539 d["a"] = {"abcF" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
503 d["a"] = {"abcF" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError()) | 540 d["a"] = {"abcF" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
504 d["a"] = {"abcF" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError()) | 541 d["a"] = {"abcF" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
542 d["a"] = {"abcF" : FailingNumber()}:(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
505 <<< Finished | 543 <<< Finished |
506 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) | 544 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) |
507 d["a"] = Mapping({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 545 d["a"] = Mapping({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
508 d["a"] = Mapping({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 546 d["a"] = Mapping({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
509 d["a"] = Mapping({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 547 d["a"] = Mapping({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
518 d["a"] = Mapping({"abcG" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 556 d["a"] = Mapping({"abcG" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
519 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 557 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
520 <<< Finished | 558 <<< Finished |
521 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) | 559 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) |
522 d["a"] = Mapping({"abcG" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 560 d["a"] = Mapping({"abcG" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
523 d["a"] = Mapping({"abcG" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 561 d["a"] = Mapping({"abcG" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
524 <<< Finished | 562 <<< Finished |
525 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) | 563 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) |
526 d["a"] = Mapping({"abcG" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 564 d["a"] = Mapping({"abcG" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
527 d["a"] = Mapping({"abcG" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 565 d["a"] = Mapping({"abcG" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
528 d["a"] = Mapping({"abcG" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 566 d["a"] = Mapping({"abcG" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
529 d["a"] = Mapping({"abcG" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 567 d["a"] = Mapping({"abcG" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
530 d["a"] = Mapping({"abcG" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 568 d["a"] = Mapping({"abcG" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
569 d["a"] = Mapping({"abcG" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
531 <<< Finished | 570 <<< Finished |
532 >>> Testing *Iter* using d["a"] = %s | 571 >>> Testing *Iter* using d["a"] = %s |
533 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 572 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
534 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError()) | 573 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',)) |
535 <<< Finished | 574 <<< Finished |
536 >>> Testing ConvertFromPyObject using d["a"] = %s | 575 >>> Testing ConvertFromPyObject using d["a"] = %s |
537 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 576 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
538 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 577 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
539 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 578 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
540 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError()) | 579 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
541 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError()) | 580 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
581 d["a"] = FailingNumber():(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
542 <<< Finished | 582 <<< Finished |
543 >> DictionaryUpdate | 583 >> DictionaryUpdate |
544 >>> kwargs | 584 >>> kwargs |
545 >>> iter | 585 >>> iter |
546 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 586 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
547 d.update([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 587 d.update([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
548 >>> Testing *Iter* using d.update(%s) | 588 >>> Testing *Iter* using d.update(%s) |
549 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 589 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
550 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 590 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
551 <<< Finished | 591 <<< Finished |
552 >>> Testing StringToChars using d.update({%s : 1}) | 592 >>> Testing StringToChars using d.update({%s : 1}) |
553 d.update({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 593 d.update({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
554 d.update({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 594 d.update({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
555 d.update({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 595 d.update({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
564 d.update({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 604 d.update({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
565 d.update({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 605 d.update({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
566 <<< Finished | 606 <<< Finished |
567 >>> Testing *Iter* using d.update({"abcF" : %s}) | 607 >>> Testing *Iter* using d.update({"abcF" : %s}) |
568 d.update({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 608 d.update({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
569 d.update({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 609 d.update({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
570 <<< Finished | 610 <<< Finished |
571 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) | 611 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) |
572 d.update({"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 612 d.update({"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
573 d.update({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 613 d.update({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
574 d.update({"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 614 d.update({"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
575 d.update({"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 615 d.update({"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
576 d.update({"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 616 d.update({"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
617 d.update({"abcF" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
577 <<< Finished | 618 <<< Finished |
578 >>> Testing StringToChars using d.update(Mapping({%s : 1})) | 619 >>> Testing StringToChars using d.update(Mapping({%s : 1})) |
579 d.update(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 620 d.update(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
580 d.update(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 621 d.update(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
581 d.update(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 622 d.update(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
590 d.update(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 631 d.update(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
591 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 632 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
592 <<< Finished | 633 <<< Finished |
593 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) | 634 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) |
594 d.update(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 635 d.update(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
595 d.update(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 636 d.update(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
596 <<< Finished | 637 <<< Finished |
597 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) | 638 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) |
598 d.update(Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 639 d.update(Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
599 d.update(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 640 d.update(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
600 d.update(Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 641 d.update(Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
601 d.update(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 642 d.update(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
602 d.update(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 643 d.update(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
644 d.update(Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
603 <<< Finished | 645 <<< Finished |
604 >>> Testing *Iter* using d.update(%s) | 646 >>> Testing *Iter* using d.update(%s) |
605 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 647 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
606 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 648 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
607 <<< Finished | 649 <<< Finished |
608 >>> Testing ConvertFromPyObject using d.update(%s) | 650 >>> Testing ConvertFromPyObject using d.update(%s) |
609 d.update(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) | 651 d.update(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) |
610 d.update({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 652 d.update({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
611 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 653 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
612 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 654 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
613 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 655 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
656 d.update(FailingNumber()):(<class 'TypeError'>, TypeError("'FailingNumber' object is not iterable",)) | |
614 <<< Finished | 657 <<< Finished |
615 >>> Testing StringToChars using d.update(((%s, 0),)) | 658 >>> Testing StringToChars using d.update(((%s, 0),)) |
616 d.update(((1, 0),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 659 d.update(((1, 0),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
617 d.update(((b"\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 660 d.update(((b"\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
618 d.update((("\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 661 d.update((("\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
632 d.update((("a", {"abcF" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 675 d.update((("a", {"abcF" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
633 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 676 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
634 <<< Finished | 677 <<< Finished |
635 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) | 678 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) |
636 d.update((("a", {"abcF" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 679 d.update((("a", {"abcF" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
637 d.update((("a", {"abcF" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 680 d.update((("a", {"abcF" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
638 <<< Finished | 681 <<< Finished |
639 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) | 682 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) |
640 d.update((("a", {"abcF" : None}),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 683 d.update((("a", {"abcF" : None}),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
641 d.update((("a", {"abcF" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 684 d.update((("a", {"abcF" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
642 d.update((("a", {"abcF" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 685 d.update((("a", {"abcF" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
643 d.update((("a", {"abcF" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 686 d.update((("a", {"abcF" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
644 d.update((("a", {"abcF" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 687 d.update((("a", {"abcF" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
688 d.update((("a", {"abcF" : FailingNumber()}),)):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
645 <<< Finished | 689 <<< Finished |
646 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) | 690 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) |
647 d.update((("a", Mapping({1 : 1})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 691 d.update((("a", Mapping({1 : 1})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
648 d.update((("a", Mapping({b"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 692 d.update((("a", Mapping({b"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
649 d.update((("a", Mapping({"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 693 d.update((("a", Mapping({"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
658 d.update((("a", Mapping({"abcG" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 702 d.update((("a", Mapping({"abcG" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
659 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 703 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
660 <<< Finished | 704 <<< Finished |
661 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) | 705 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) |
662 d.update((("a", Mapping({"abcG" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 706 d.update((("a", Mapping({"abcG" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
663 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 707 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
664 <<< Finished | 708 <<< Finished |
665 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) | 709 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) |
666 d.update((("a", Mapping({"abcG" : None})),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 710 d.update((("a", Mapping({"abcG" : None})),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
667 d.update((("a", Mapping({"abcG" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 711 d.update((("a", Mapping({"abcG" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
668 d.update((("a", Mapping({"abcG" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 712 d.update((("a", Mapping({"abcG" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
669 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 713 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
670 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 714 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
715 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
671 <<< Finished | 716 <<< Finished |
672 >>> Testing *Iter* using d.update((("a", %s),)) | 717 >>> Testing *Iter* using d.update((("a", %s),)) |
673 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 718 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
674 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 719 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
675 <<< Finished | 720 <<< Finished |
676 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) | 721 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
677 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 722 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
678 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 723 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
679 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 724 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
680 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 725 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
681 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 726 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
727 d.update((("a", FailingNumber()),)):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
682 <<< Finished | 728 <<< Finished |
683 >> DictionaryPopItem | 729 >> DictionaryPopItem |
684 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) | 730 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) |
685 >> DictionaryHasKey | 731 >> DictionaryHasKey |
686 d.has_key():(<class 'TypeError'>, TypeError('has_key() takes exactly one argument (0 given)',)) | 732 d.has_key():(<class 'TypeError'>, TypeError('has_key() takes exactly one argument (0 given)',)) |
687 > List | 733 > List |
688 >> ListConstructor | 734 >> ListConstructor |
689 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) | 735 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) |
690 vim.List(a=1):(<class 'TypeError'>, TypeError('list constructor does not accept keyword arguments',)) | 736 vim.List(a=1):(<class 'TypeError'>, TypeError('list constructor does not accept keyword arguments',)) |
691 >>> Testing *Iter* using vim.List(%s) | 737 >>> Testing *Iter* using vim.List(%s) |
692 vim.List(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 738 vim.List(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
693 vim.List(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 739 vim.List(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
694 <<< Finished | 740 <<< Finished |
695 >>> Testing StringToChars using vim.List([{%s : 1}]) | 741 >>> Testing StringToChars using vim.List([{%s : 1}]) |
696 vim.List([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 742 vim.List([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
697 vim.List([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 743 vim.List([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
698 vim.List([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 744 vim.List([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
707 vim.List([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 753 vim.List([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
708 vim.List([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 754 vim.List([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
709 <<< Finished | 755 <<< Finished |
710 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) | 756 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) |
711 vim.List([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 757 vim.List([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
712 vim.List([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 758 vim.List([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
713 <<< Finished | 759 <<< Finished |
714 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) | 760 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) |
715 vim.List([{"abcF" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 761 vim.List([{"abcF" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
716 vim.List([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 762 vim.List([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
717 vim.List([{"abcF" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 763 vim.List([{"abcF" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
718 vim.List([{"abcF" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 764 vim.List([{"abcF" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
719 vim.List([{"abcF" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 765 vim.List([{"abcF" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
766 vim.List([{"abcF" : FailingNumber()}]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
720 <<< Finished | 767 <<< Finished |
721 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) | 768 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) |
722 vim.List([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 769 vim.List([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
723 vim.List([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 770 vim.List([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
724 vim.List([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 771 vim.List([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
733 vim.List([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 780 vim.List([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
734 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 781 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
735 <<< Finished | 782 <<< Finished |
736 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) | 783 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) |
737 vim.List([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 784 vim.List([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
738 vim.List([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 785 vim.List([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
739 <<< Finished | 786 <<< Finished |
740 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) | 787 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) |
741 vim.List([Mapping({"abcG" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 788 vim.List([Mapping({"abcG" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
742 vim.List([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 789 vim.List([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
743 vim.List([Mapping({"abcG" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 790 vim.List([Mapping({"abcG" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
744 vim.List([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 791 vim.List([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
745 vim.List([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 792 vim.List([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
793 vim.List([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
746 <<< Finished | 794 <<< Finished |
747 >>> Testing *Iter* using vim.List([%s]) | 795 >>> Testing *Iter* using vim.List([%s]) |
748 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 796 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
749 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 797 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
750 <<< Finished | 798 <<< Finished |
751 >>> Testing ConvertFromPyObject using vim.List([%s]) | 799 >>> Testing ConvertFromPyObject using vim.List([%s]) |
752 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 800 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
753 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 801 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
754 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 802 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
755 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 803 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
756 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 804 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
805 vim.List([FailingNumber()]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
757 <<< Finished | 806 <<< Finished |
758 >> ListItem | 807 >> ListItem |
759 l[1000]:(<class 'IndexError'>, IndexError('list index out of range',)) | 808 l[1000]:(<class 'IndexError'>, IndexError('list index out of range',)) |
760 >> ListAssItem | 809 >> ListAssItem |
761 ll[1] = 2:(<class 'vim.error'>, error('list is locked',)) | 810 ll[1] = 2:(<class 'vim.error'>, error('list is locked',)) |
762 l[1000] = 3:(<class 'IndexError'>, IndexError('list index out of range',)) | 811 l[1000] = 3:(<class 'IndexError'>, IndexError('list index out of range',)) |
763 >> ListAssSlice | 812 >> ListAssSlice |
764 ll[1:100] = "abcJ":(<class 'vim.error'>, error('list is locked',)) | 813 ll[1:100] = "abcJ":(<class 'vim.error'>, error('list is locked',)) |
765 >>> Testing *Iter* using l[:] = %s | 814 >>> Testing *Iter* using l[:] = %s |
766 l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError()) | 815 l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
767 l[:] = FailingIterNext()::(<class 'NotImplementedError'>, NotImplementedError()) | 816 l[:] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',)) |
768 <<< Finished | 817 <<< Finished |
769 >>> Testing StringToChars using l[:] = [{%s : 1}] | 818 >>> Testing StringToChars using l[:] = [{%s : 1}] |
770 l[:] = [{1 : 1}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 819 l[:] = [{1 : 1}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
771 l[:] = [{b"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 820 l[:] = [{b"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
772 l[:] = [{"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 821 l[:] = [{"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
781 l[:] = [{"abcF" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 830 l[:] = [{"abcF" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
782 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 831 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
783 <<< Finished | 832 <<< Finished |
784 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] | 833 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] |
785 l[:] = [{"abcF" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 834 l[:] = [{"abcF" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
786 l[:] = [{"abcF" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 835 l[:] = [{"abcF" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
787 <<< Finished | 836 <<< Finished |
788 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] | 837 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] |
789 l[:] = [{"abcF" : None}]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 838 l[:] = [{"abcF" : None}]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
790 l[:] = [{"abcF" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 839 l[:] = [{"abcF" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
791 l[:] = [{"abcF" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 840 l[:] = [{"abcF" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
792 l[:] = [{"abcF" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 841 l[:] = [{"abcF" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
793 l[:] = [{"abcF" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 842 l[:] = [{"abcF" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
843 l[:] = [{"abcF" : FailingNumber()}]:(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
794 <<< Finished | 844 <<< Finished |
795 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] | 845 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] |
796 l[:] = [Mapping({1 : 1})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 846 l[:] = [Mapping({1 : 1})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
797 l[:] = [Mapping({b"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 847 l[:] = [Mapping({b"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
798 l[:] = [Mapping({"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 848 l[:] = [Mapping({"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
807 l[:] = [Mapping({"abcG" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 857 l[:] = [Mapping({"abcG" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
808 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 858 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
809 <<< Finished | 859 <<< Finished |
810 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] | 860 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] |
811 l[:] = [Mapping({"abcG" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 861 l[:] = [Mapping({"abcG" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
812 l[:] = [Mapping({"abcG" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 862 l[:] = [Mapping({"abcG" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
813 <<< Finished | 863 <<< Finished |
814 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] | 864 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] |
815 l[:] = [Mapping({"abcG" : None})]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 865 l[:] = [Mapping({"abcG" : None})]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
816 l[:] = [Mapping({"abcG" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 866 l[:] = [Mapping({"abcG" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
817 l[:] = [Mapping({"abcG" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 867 l[:] = [Mapping({"abcG" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
818 l[:] = [Mapping({"abcG" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 868 l[:] = [Mapping({"abcG" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
819 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 869 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
870 l[:] = [Mapping({"abcG" : FailingNumber()})]:(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
820 <<< Finished | 871 <<< Finished |
821 >>> Testing *Iter* using l[:] = [%s] | 872 >>> Testing *Iter* using l[:] = [%s] |
822 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 873 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
823 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError()) | 874 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
824 <<< Finished | 875 <<< Finished |
825 >>> Testing ConvertFromPyObject using l[:] = [%s] | 876 >>> Testing ConvertFromPyObject using l[:] = [%s] |
826 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 877 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
827 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 878 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
828 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 879 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
829 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError()) | 880 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
830 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError()) | 881 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
882 l[:] = [FailingNumber()]:(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
831 <<< Finished | 883 <<< Finished |
832 >> ListConcatInPlace | 884 >> ListConcatInPlace |
833 >>> Testing *Iter* using l.extend(%s) | 885 >>> Testing *Iter* using l.extend(%s) |
834 l.extend(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 886 l.extend(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',)) |
835 l.extend(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 887 l.extend(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
836 <<< Finished | 888 <<< Finished |
837 >>> Testing StringToChars using l.extend([{%s : 1}]) | 889 >>> Testing StringToChars using l.extend([{%s : 1}]) |
838 l.extend([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 890 l.extend([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
839 l.extend([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 891 l.extend([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
840 l.extend([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 892 l.extend([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
849 l.extend([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 901 l.extend([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
850 l.extend([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 902 l.extend([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
851 <<< Finished | 903 <<< Finished |
852 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) | 904 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) |
853 l.extend([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 905 l.extend([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
854 l.extend([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 906 l.extend([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
855 <<< Finished | 907 <<< Finished |
856 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) | 908 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) |
857 l.extend([{"abcF" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 909 l.extend([{"abcF" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
858 l.extend([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 910 l.extend([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
859 l.extend([{"abcF" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 911 l.extend([{"abcF" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
860 l.extend([{"abcF" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 912 l.extend([{"abcF" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
861 l.extend([{"abcF" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 913 l.extend([{"abcF" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
914 l.extend([{"abcF" : FailingNumber()}]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
862 <<< Finished | 915 <<< Finished |
863 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) | 916 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) |
864 l.extend([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 917 l.extend([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
865 l.extend([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 918 l.extend([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
866 l.extend([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 919 l.extend([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
875 l.extend([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 928 l.extend([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
876 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 929 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
877 <<< Finished | 930 <<< Finished |
878 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) | 931 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) |
879 l.extend([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 932 l.extend([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
880 l.extend([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 933 l.extend([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
881 <<< Finished | 934 <<< Finished |
882 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) | 935 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) |
883 l.extend([Mapping({"abcG" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 936 l.extend([Mapping({"abcG" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
884 l.extend([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 937 l.extend([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
885 l.extend([Mapping({"abcG" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 938 l.extend([Mapping({"abcG" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
886 l.extend([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 939 l.extend([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
887 l.extend([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 940 l.extend([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
941 l.extend([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
888 <<< Finished | 942 <<< Finished |
889 >>> Testing *Iter* using l.extend([%s]) | 943 >>> Testing *Iter* using l.extend([%s]) |
890 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 944 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
891 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 945 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
892 <<< Finished | 946 <<< Finished |
893 >>> Testing ConvertFromPyObject using l.extend([%s]) | 947 >>> Testing ConvertFromPyObject using l.extend([%s]) |
894 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 948 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
895 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 949 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
896 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 950 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
897 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 951 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
898 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 952 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
953 l.extend([FailingNumber()]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
899 <<< Finished | 954 <<< Finished |
900 >> ListSetattr | 955 >> ListSetattr |
901 del l.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.List attributes',)) | 956 del l.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.List attributes',)) |
902 l.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) | 957 l.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError('bool',)) |
903 l.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) | 958 l.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) |
904 > Function | 959 > Function |
905 >> FunctionConstructor | 960 >> FunctionConstructor |
906 vim.Function("123"):(<class 'ValueError'>, ValueError('unnamed function 123 does not exist',)) | 961 vim.Function("123"):(<class 'ValueError'>, ValueError('unnamed function 123 does not exist',)) |
907 vim.Function("xxx_non_existent_function_xxx"):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx does not exist',)) | 962 vim.Function("xxx_non_existent_function_xxx"):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx does not exist',)) |
922 f({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 977 f({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
923 f({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 978 f({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
924 <<< Finished | 979 <<< Finished |
925 >>> Testing *Iter* using f({"abcF" : %s}) | 980 >>> Testing *Iter* using f({"abcF" : %s}) |
926 f({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 981 f({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
927 f({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 982 f({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
928 <<< Finished | 983 <<< Finished |
929 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) | 984 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) |
930 f({"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 985 f({"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
931 f({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 986 f({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
932 f({"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 987 f({"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
933 f({"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 988 f({"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
934 f({"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 989 f({"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
990 f({"abcF" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
935 <<< Finished | 991 <<< Finished |
936 >>> Testing StringToChars using f(Mapping({%s : 1})) | 992 >>> Testing StringToChars using f(Mapping({%s : 1})) |
937 f(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 993 f(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
938 f(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 994 f(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
939 f(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 995 f(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
948 f(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1004 f(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
949 f(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1005 f(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
950 <<< Finished | 1006 <<< Finished |
951 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) | 1007 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) |
952 f(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1008 f(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
953 f(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1009 f(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
954 <<< Finished | 1010 <<< Finished |
955 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) | 1011 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) |
956 f(Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 1012 f(Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
957 f(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1013 f(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
958 f(Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1014 f(Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
959 f(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1015 f(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
960 f(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1016 f(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1017 f(Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
961 <<< Finished | 1018 <<< Finished |
962 >>> Testing *Iter* using f(%s) | 1019 >>> Testing *Iter* using f(%s) |
963 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1020 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
964 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 1021 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
965 <<< Finished | 1022 <<< Finished |
966 >>> Testing ConvertFromPyObject using f(%s) | 1023 >>> Testing ConvertFromPyObject using f(%s) |
967 f(None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 1024 f(None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
968 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1025 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
969 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1026 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
970 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 1027 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
971 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 1028 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1029 f(FailingNumber()):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
972 <<< Finished | 1030 <<< Finished |
973 >>> Testing StringToChars using fd(self={%s : 1}) | 1031 >>> Testing StringToChars using fd(self={%s : 1}) |
974 fd(self={1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1032 fd(self={1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
975 fd(self={b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1033 fd(self={b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
976 fd(self={"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1034 fd(self={"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
985 fd(self={"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1043 fd(self={"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
986 fd(self={"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1044 fd(self={"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
987 <<< Finished | 1045 <<< Finished |
988 >>> Testing *Iter* using fd(self={"abcF" : %s}) | 1046 >>> Testing *Iter* using fd(self={"abcF" : %s}) |
989 fd(self={"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1047 fd(self={"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
990 fd(self={"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 1048 fd(self={"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
991 <<< Finished | 1049 <<< Finished |
992 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) | 1050 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) |
993 fd(self={"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 1051 fd(self={"abcF" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
994 fd(self={"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1052 fd(self={"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
995 fd(self={"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1053 fd(self={"abcF" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
996 fd(self={"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 1054 fd(self={"abcF" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
997 fd(self={"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 1055 fd(self={"abcF" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1056 fd(self={"abcF" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
998 <<< Finished | 1057 <<< Finished |
999 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) | 1058 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) |
1000 fd(self=Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1059 fd(self=Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1001 fd(self=Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1060 fd(self=Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1002 fd(self=Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1061 fd(self=Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1011 fd(self=Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1070 fd(self=Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1012 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1071 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1013 <<< Finished | 1072 <<< Finished |
1014 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) | 1073 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) |
1015 fd(self=Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1074 fd(self=Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
1016 fd(self=Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1075 fd(self=Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1017 <<< Finished | 1076 <<< Finished |
1018 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) | 1077 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) |
1019 fd(self=Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) | 1078 fd(self=Mapping({"abcG" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
1020 fd(self=Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1079 fd(self=Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1021 fd(self=Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1080 fd(self=Mapping({"abcG" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1022 fd(self=Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1081 fd(self=Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1023 fd(self=Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1082 fd(self=Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1083 fd(self=Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) | |
1024 <<< Finished | 1084 <<< Finished |
1025 >>> Testing *Iter* using fd(self=%s) | 1085 >>> Testing *Iter* using fd(self=%s) |
1026 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim dictionary',)) | 1086 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim dictionary',)) |
1027 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert FailingIterNext to vim dictionary',)) | 1087 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert FailingIterNext to vim dictionary',)) |
1028 <<< Finished | 1088 <<< Finished |
1029 >>> Testing ConvertFromPyObject using fd(self=%s) | 1089 >>> Testing ConvertFromPyObject using fd(self=%s) |
1030 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim dictionary',)) | 1090 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim dictionary',)) |
1031 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1091 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1032 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1092 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1033 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 1093 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1034 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 1094 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1095 fd(self=FailingNumber()):(<class 'TypeError'>, TypeError('unable to convert FailingNumber to vim dictionary',)) | |
1035 <<< Finished | 1096 <<< Finished |
1036 >>> Testing ConvertFromPyMapping using fd(self=%s) | 1097 >>> Testing ConvertFromPyMapping using fd(self=%s) |
1037 fd(self=[]):(<class 'AttributeError'>, AttributeError('keys',)) | 1098 fd(self=[]):(<class 'AttributeError'>, AttributeError('keys',)) |
1038 <<< Finished | 1099 <<< Finished |
1039 > TabPage | 1100 > TabPage |
1047 vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' object has no attribute 'xxx'",)) | 1108 vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' object has no attribute 'xxx'",)) |
1048 >> WindowSetattr | 1109 >> WindowSetattr |
1049 vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute: buffer',)) | 1110 vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute: buffer',)) |
1050 vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',)) | 1111 vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',)) |
1051 vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',)) | 1112 vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',)) |
1052 vim.current.window.height = "abcK":(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got str',)) | 1113 >>> Testing NumberToLong using vim.current.window.height = %s |
1053 vim.current.window.width = "abcL":(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got str',)) | 1114 vim.current.window.height = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) |
1115 vim.current.window.height = None:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) | |
1116 vim.current.window.height = -1:(<class 'ValueError'>, ValueError('number must be greater or equal to zero',)) | |
1117 <<< Finished | |
1118 >>> Testing NumberToLong using vim.current.window.width = %s | |
1119 vim.current.window.width = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) | |
1120 vim.current.window.width = None:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) | |
1121 vim.current.window.width = -1:(<class 'ValueError'>, ValueError('number must be greater or equal to zero',)) | |
1122 <<< Finished | |
1054 vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',)) | 1123 vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',)) |
1055 > WinList | 1124 > WinList |
1056 >> WinListItem | 1125 >> WinListItem |
1057 vim.windows[1000]:(<class 'IndexError'>, IndexError('no such window',)) | 1126 vim.windows[1000]:(<class 'IndexError'>, IndexError('no such window',)) |
1058 > Buffer | 1127 > Buffer |
1059 >> StringToLine (indirect) | 1128 >> StringToLine (indirect) |
1060 vim.current.buffer[0] = "\na":(<class 'vim.error'>, error('string cannot contain newlines',)) | 1129 vim.current.buffer[0] = "\na":(<class 'vim.error'>, error('string cannot contain newlines',)) |
1130 vim.current.buffer[0] = b"\na":(<class 'vim.error'>, error('string cannot contain newlines',)) | |
1061 >> SetBufferLine (indirect) | 1131 >> SetBufferLine (indirect) |
1062 vim.current.buffer[0] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) | 1132 vim.current.buffer[0] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) |
1063 >> SetBufferLineList (indirect) | 1133 >> SetBufferLineList (indirect) |
1064 vim.current.buffer[:] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) | 1134 vim.current.buffer[:] = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) |
1065 vim.current.buffer[:] = ["\na", "bc"]:(<class 'vim.error'>, error('string cannot contain newlines',)) | 1135 vim.current.buffer[:] = ["\na", "bc"]:(<class 'vim.error'>, error('string cannot contain newlines',)) |
1082 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) | 1152 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) |
1083 >> BufferRange | 1153 >> BufferRange |
1084 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) | 1154 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) |
1085 > BufMap | 1155 > BufMap |
1086 >> BufMapItem | 1156 >> BufMapItem |
1157 vim.buffers[100000000]:(<class 'KeyError'>, KeyError(100000000,)) | |
1158 >>> Testing NumberToLong using vim.buffers[%s] | |
1159 vim.buffers[[]]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) | |
1087 vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) | 1160 vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) |
1088 vim.buffers[100000000]:(<class 'KeyError'>, KeyError(100000000,)) | 1161 vim.buffers[-1]:(<class 'ValueError'>, ValueError('number must be greater then zero',)) |
1162 vim.buffers[0]:(<class 'ValueError'>, ValueError('number must be greater then zero',)) | |
1163 <<< Finished | |
1089 > Current | 1164 > Current |
1090 >> CurrentGetattr | 1165 >> CurrentGetattr |
1091 vim.current.xxx:(<class 'AttributeError'>, AttributeError("'vim.currentdata' object has no attribute 'xxx'",)) | 1166 vim.current.xxx:(<class 'AttributeError'>, AttributeError("'vim.currentdata' object has no attribute 'xxx'",)) |
1092 >> CurrentSetattr | 1167 >> CurrentSetattr |
1093 vim.current.line = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) | 1168 vim.current.line = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) |
1094 vim.current.buffer = True:(<class 'TypeError'>, TypeError('expected vim.Buffer object, but got bool',)) | 1169 vim.current.buffer = True:(<class 'TypeError'>, TypeError('expected vim.Buffer object, but got bool',)) |
1095 vim.current.window = True:(<class 'TypeError'>, TypeError('expected vim.Window object, but got bool',)) | 1170 vim.current.window = True:(<class 'TypeError'>, TypeError('expected vim.Window object, but got bool',)) |
1096 vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected vim.TabPage object, but got bool',)) | 1171 vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected vim.TabPage object, but got bool',)) |
1097 vim.current.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) | 1172 vim.current.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) |
1173 ['.'] | |
1174 '.' | |
1098 3,xx | 1175 3,xx |
1099 before | 1176 before |
1100 after | 1177 after |
1178 pythonx/topmodule/__init__.py | |
1179 pythonx/topmodule/submodule/__init__.py | |
1180 pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py | |
1101 vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',)) | 1181 vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',)) |
1102 Exe("throw 'def'"):(<class 'vim.error'>, error('def',)) | 1182 Exe("throw 'def'"):(<class 'vim.error'>, error('def',)) |
1103 vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',)) | 1183 vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',)) |
1104 vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkl',)) | 1184 vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkl',)) |
1105 vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)) | 1185 vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)) |