Mercurial > vim
comparison src/testdir/test87.ok @ 4970:f5c822e5a0eb v7.3.1230
updated for version 7.3.1230
Problem: Python: Exception messages are not clear.
Solution: Make exception messages more verbose. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Jun 2013 13:46:40 +0200 |
parents | 5cee875f3096 |
children | 537bbfff0c5c |
comparison
equal
deleted
inserted
replaced
4969:dbbe87b3c213 | 4970:f5c822e5a0eb |
---|---|
426 test87.in | 426 test87.in |
427 > Output | 427 > Output |
428 >> OutputSetattr | 428 >> OutputSetattr |
429 del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",)) | 429 del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",)) |
430 sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('softspace must be an integer',)) | 430 sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('softspace must be an integer',)) |
431 sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute',)) | 431 sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute: attr',)) |
432 >> OutputWrite | 432 >> OutputWrite |
433 sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) | 433 sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) |
434 >> OutputWriteLines | 434 >> OutputWriteLines |
435 sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) | 435 sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) |
436 sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",)) | 436 sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",)) |
437 >>> Testing *Iter* using sys.stdout.writelines(%s) | 437 >>> Testing *Iter* using sys.stdout.writelines(%s) |
438 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 438 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) |
439 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 439 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
440 <<< Finished | 440 <<< Finished |
441 > VimCommand | 441 > VimCommand |
442 vim.command(1):(<class 'TypeError'>, TypeError('object must be string',)) | 442 vim.command(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
443 > VimToPython | 443 > VimToPython |
444 > VimEval | 444 > VimEval |
445 vim.eval(1):(<class 'TypeError'>, TypeError('object must be string',)) | 445 vim.eval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
446 > VimEvalPy | 446 > VimEvalPy |
447 vim.bindeval(1):(<class 'TypeError'>, TypeError('object must be string',)) | 447 vim.bindeval(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
448 > VimStrwidth | 448 > VimStrwidth |
449 vim.strwidth(1):(<class 'TypeError'>, TypeError('object must be string',)) | 449 vim.strwidth(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
450 > Dictionary | 450 > Dictionary |
451 >> DictionaryConstructor | 451 >> DictionaryConstructor |
452 vim.Dictionary("abc"):(<class 'ValueError'>, ValueError('expected sequence element of size 2',)) | 452 vim.Dictionary("abc"):(<class 'ValueError'>, ValueError('expected sequence element of size 2, but got sequence of size 1',)) |
453 >> DictionarySetattr | 453 >> DictionarySetattr |
454 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) | 454 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) |
455 d.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) | 455 d.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) |
456 vim.vvars.locked = False:(<class 'TypeError'>, TypeError('cannot modify fixed dictionary',)) | 456 vim.vvars.locked = False:(<class 'TypeError'>, TypeError('cannot modify fixed dictionary',)) |
457 d.scope = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',)) | 457 d.scope = True:(<class 'AttributeError'>, AttributeError('cannot set attribute scope',)) |
458 d.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',)) | 458 d.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) |
459 >> _DictionaryItem | 459 >> _DictionaryItem |
460 d.get("a", 2, 3):(<class 'TypeError'>, TypeError('function takes at most 2 arguments (3 given)',)) | 460 d.get("a", 2, 3):(<class 'TypeError'>, TypeError('function takes at most 2 arguments (3 given)',)) |
461 >>> Testing StringToChars using d.get(%s) | 461 >>> Testing StringToChars using d.get(%s) |
462 d.get(1):(<class 'TypeError'>, TypeError('object must be string',)) | 462 d.get(1):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
463 d.get(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 463 d.get(b"\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
464 d.get("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 464 d.get("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
465 <<< Finished | 465 <<< Finished |
466 d.pop("a"):(<class 'KeyError'>, KeyError('a',)) | 466 d.pop("a"):(<class 'KeyError'>, KeyError('a',)) |
467 dl.pop("a"):(<class 'vim.error'>, error('dict is locked',)) | 467 dl.pop("a"):(<class 'vim.error'>, error('dictionary is locked',)) |
468 >> DictionaryIterNext | 468 >> DictionaryIterNext |
469 for i in ned: ned["a"] = 1:(<class 'RuntimeError'>, RuntimeError('hashtab changed during iteration',)) | 469 for i in ned: ned["a"] = 1:(<class 'RuntimeError'>, RuntimeError('hashtab changed during iteration',)) |
470 >> DictionaryAssItem | 470 >> DictionaryAssItem |
471 dl["b"] = 1:(<class 'vim.error'>, error('dict is locked',)) | 471 dl["b"] = 1:(<class 'vim.error'>, error('dictionary is locked',)) |
472 >>> Testing StringToChars using d[%s] = 1 | 472 >>> Testing StringToChars using d[%s] = 1 |
473 d[1] = 1:(<class 'TypeError'>, TypeError('object must be string',)) | 473 d[1] = 1:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
474 d[b"\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 474 d[b"\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
475 d["\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 475 d["\0"] = 1:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
476 <<< Finished | 476 <<< Finished |
477 >>> Testing StringToChars using d["a"] = {%s : 1} | 477 >>> Testing StringToChars using d["a"] = {%s : 1} |
478 d["a"] = {1 : 1}:(<class 'TypeError'>, TypeError('object must be string',)) | 478 d["a"] = {1 : 1}:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
479 d["a"] = {b"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 479 d["a"] = {b"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
480 d["a"] = {"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 480 d["a"] = {"\0" : 1}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
481 <<< Finished | 481 <<< Finished |
482 >>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}} | 482 >>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}} |
483 d["a"] = {"abc" : {1 : 1}}:(<class 'TypeError'>, TypeError('object must be string',)) | 483 d["a"] = {"abc" : {1 : 1}}:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
484 d["a"] = {"abc" : {b"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 484 d["a"] = {"abc" : {b"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
485 d["a"] = {"abc" : {"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 485 d["a"] = {"abc" : {"\0" : 1}}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
486 <<< Finished | 486 <<< Finished |
487 >>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})} | 487 >>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})} |
488 d["a"] = {"abc" : Mapping({1 : 1})}:(<class 'TypeError'>, TypeError('object must be string',)) | 488 d["a"] = {"abc" : Mapping({1 : 1})}:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
489 d["a"] = {"abc" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 489 d["a"] = {"abc" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
490 d["a"] = {"abc" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 490 d["a"] = {"abc" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
491 <<< Finished | 491 <<< Finished |
492 >>> Testing *Iter* using d["a"] = {"abc" : %s} | 492 >>> Testing *Iter* using d["a"] = {"abc" : %s} |
493 d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 493 d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
494 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError()) | 494 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError()) |
495 <<< Finished | 495 <<< Finished |
496 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} | 496 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} |
497 d["a"] = {"abc" : None}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 497 d["a"] = {"abc" : None}:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
498 d["a"] = {"abc" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 498 d["a"] = {"abc" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
499 d["a"] = {"abc" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 499 d["a"] = {"abc" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
500 d["a"] = {"abc" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError()) | 500 d["a"] = {"abc" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError()) |
501 d["a"] = {"abc" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError()) | 501 d["a"] = {"abc" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError()) |
502 <<< Finished | 502 <<< Finished |
503 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) | 503 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) |
504 d["a"] = Mapping({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',)) | 504 d["a"] = Mapping({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
505 d["a"] = Mapping({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 505 d["a"] = Mapping({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
506 d["a"] = Mapping({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 506 d["a"] = Mapping({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
507 <<< Finished | 507 <<< Finished |
508 >>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}}) | 508 >>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}}) |
509 d["a"] = Mapping({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',)) | 509 d["a"] = Mapping({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
510 d["a"] = Mapping({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 510 d["a"] = Mapping({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
511 d["a"] = Mapping({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 511 d["a"] = Mapping({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
512 <<< Finished | 512 <<< Finished |
513 >>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})}) | 513 >>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})}) |
514 d["a"] = Mapping({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',)) | 514 d["a"] = Mapping({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
515 d["a"] = Mapping({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 515 d["a"] = Mapping({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
516 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 516 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
517 <<< Finished | 517 <<< Finished |
518 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s}) | 518 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s}) |
519 d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 519 d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
520 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 520 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
521 <<< Finished | 521 <<< Finished |
522 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) | 522 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) |
523 d["a"] = Mapping({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 523 d["a"] = Mapping({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
524 d["a"] = Mapping({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 524 d["a"] = Mapping({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
525 d["a"] = Mapping({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 525 d["a"] = Mapping({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
526 d["a"] = Mapping({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 526 d["a"] = Mapping({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
527 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 527 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
528 <<< Finished | 528 <<< Finished |
529 >>> Testing *Iter* using d["a"] = %s | 529 >>> Testing *Iter* using d["a"] = %s |
530 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 530 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
531 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError()) | 531 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError()) |
532 <<< Finished | 532 <<< Finished |
533 >>> Testing ConvertFromPyObject using d["a"] = %s | 533 >>> Testing ConvertFromPyObject using d["a"] = %s |
534 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 534 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
535 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 535 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
536 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 536 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
537 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError()) | 537 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError()) |
538 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError()) | 538 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError()) |
539 <<< Finished | 539 <<< Finished |
545 >>> Testing *Iter* using d.update(%s) | 545 >>> Testing *Iter* using d.update(%s) |
546 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 546 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) |
547 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 547 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
548 <<< Finished | 548 <<< Finished |
549 >>> Testing StringToChars using d.update({%s : 1}) | 549 >>> Testing StringToChars using d.update({%s : 1}) |
550 d.update({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',)) | 550 d.update({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
551 d.update({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 551 d.update({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
552 d.update({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 552 d.update({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
553 <<< Finished | 553 <<< Finished |
554 >>> Testing StringToChars using d.update({"abc" : {%s : 1}}) | 554 >>> Testing StringToChars using d.update({"abc" : {%s : 1}}) |
555 d.update({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',)) | 555 d.update({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
556 d.update({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 556 d.update({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
557 d.update({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 557 d.update({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
558 <<< Finished | 558 <<< Finished |
559 >>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})}) | 559 >>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})}) |
560 d.update({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',)) | 560 d.update({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
561 d.update({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 561 d.update({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
562 d.update({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 562 d.update({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
563 <<< Finished | 563 <<< Finished |
564 >>> Testing *Iter* using d.update({"abc" : %s}) | 564 >>> Testing *Iter* using d.update({"abc" : %s}) |
565 d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 565 d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
566 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 566 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
567 <<< Finished | 567 <<< Finished |
568 >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) | 568 >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) |
569 d.update({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 569 d.update({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
570 d.update({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 570 d.update({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
571 d.update({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 571 d.update({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
572 d.update({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 572 d.update({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
573 d.update({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 573 d.update({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
574 <<< Finished | 574 <<< Finished |
575 >>> Testing StringToChars using d.update(Mapping({%s : 1})) | 575 >>> Testing StringToChars using d.update(Mapping({%s : 1})) |
576 d.update(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',)) | 576 d.update(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
577 d.update(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 577 d.update(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
578 d.update(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 578 d.update(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
579 <<< Finished | 579 <<< Finished |
580 >>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}})) | 580 >>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}})) |
581 d.update(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',)) | 581 d.update(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
582 d.update(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 582 d.update(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
583 d.update(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 583 d.update(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
584 <<< Finished | 584 <<< Finished |
585 >>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})})) | 585 >>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})})) |
586 d.update(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',)) | 586 d.update(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
587 d.update(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 587 d.update(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
588 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 588 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
589 <<< Finished | 589 <<< Finished |
590 >>> Testing *Iter* using d.update(Mapping({"abc" : %s})) | 590 >>> Testing *Iter* using d.update(Mapping({"abc" : %s})) |
591 d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 591 d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
592 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 592 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
593 <<< Finished | 593 <<< Finished |
594 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) | 594 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) |
595 d.update(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 595 d.update(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
596 d.update(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 596 d.update(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
597 d.update(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 597 d.update(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
598 d.update(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 598 d.update(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
599 d.update(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 599 d.update(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
600 <<< Finished | 600 <<< Finished |
608 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 608 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
609 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 609 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
610 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 610 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
611 <<< Finished | 611 <<< Finished |
612 >>> Testing StringToChars using d.update(((%s, 0),)) | 612 >>> Testing StringToChars using d.update(((%s, 0),)) |
613 d.update(((1, 0),)):(<class 'TypeError'>, TypeError('object must be string',)) | 613 d.update(((1, 0),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
614 d.update(((b"\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 614 d.update(((b"\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
615 d.update((("\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 615 d.update((("\0", 0),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
616 <<< Finished | 616 <<< Finished |
617 >>> Testing StringToChars using d.update((("a", {%s : 1}),)) | 617 >>> Testing StringToChars using d.update((("a", {%s : 1}),)) |
618 d.update((("a", {1 : 1}),)):(<class 'TypeError'>, TypeError('object must be string',)) | 618 d.update((("a", {1 : 1}),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
619 d.update((("a", {b"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 619 d.update((("a", {b"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
620 d.update((("a", {"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 620 d.update((("a", {"\0" : 1}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
621 <<< Finished | 621 <<< Finished |
622 >>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),)) | 622 >>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),)) |
623 d.update((("a", {"abc" : {1 : 1}}),)):(<class 'TypeError'>, TypeError('object must be string',)) | 623 d.update((("a", {"abc" : {1 : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
624 d.update((("a", {"abc" : {b"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 624 d.update((("a", {"abc" : {b"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
625 d.update((("a", {"abc" : {"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 625 d.update((("a", {"abc" : {"\0" : 1}}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
626 <<< Finished | 626 <<< Finished |
627 >>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),)) | 627 >>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),)) |
628 d.update((("a", {"abc" : Mapping({1 : 1})}),)):(<class 'TypeError'>, TypeError('object must be string',)) | 628 d.update((("a", {"abc" : Mapping({1 : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
629 d.update((("a", {"abc" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 629 d.update((("a", {"abc" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
630 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 630 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
631 <<< Finished | 631 <<< Finished |
632 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),)) | 632 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),)) |
633 d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 633 d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
634 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 634 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
635 <<< Finished | 635 <<< Finished |
636 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) | 636 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) |
637 d.update((("a", {"abc" : None}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 637 d.update((("a", {"abc" : None}),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
638 d.update((("a", {"abc" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 638 d.update((("a", {"abc" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
639 d.update((("a", {"abc" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 639 d.update((("a", {"abc" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
640 d.update((("a", {"abc" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 640 d.update((("a", {"abc" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
641 d.update((("a", {"abc" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 641 d.update((("a", {"abc" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
642 <<< Finished | 642 <<< Finished |
643 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) | 643 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) |
644 d.update((("a", Mapping({1 : 1})),)):(<class 'TypeError'>, TypeError('object must be string',)) | 644 d.update((("a", Mapping({1 : 1})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
645 d.update((("a", Mapping({b"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 645 d.update((("a", Mapping({b"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
646 d.update((("a", Mapping({"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 646 d.update((("a", Mapping({"\0" : 1})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
647 <<< Finished | 647 <<< Finished |
648 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),)) | 648 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),)) |
649 d.update((("a", Mapping({"abc" : {1 : 1}})),)):(<class 'TypeError'>, TypeError('object must be string',)) | 649 d.update((("a", Mapping({"abc" : {1 : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
650 d.update((("a", Mapping({"abc" : {b"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 650 d.update((("a", Mapping({"abc" : {b"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
651 d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 651 d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
652 <<< Finished | 652 <<< Finished |
653 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),)) | 653 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),)) |
654 d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):(<class 'TypeError'>, TypeError('object must be string',)) | 654 d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
655 d.update((("a", Mapping({"abc" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 655 d.update((("a", Mapping({"abc" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
656 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 656 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
657 <<< Finished | 657 <<< Finished |
658 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),)) | 658 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),)) |
659 d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 659 d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
660 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 660 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
661 <<< Finished | 661 <<< Finished |
662 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) | 662 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) |
663 d.update((("a", Mapping({"abc" : None})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 663 d.update((("a", Mapping({"abc" : None})),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
664 d.update((("a", Mapping({"abc" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 664 d.update((("a", Mapping({"abc" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
665 d.update((("a", Mapping({"abc" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 665 d.update((("a", Mapping({"abc" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
666 d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 666 d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
667 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 667 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
668 <<< Finished | 668 <<< Finished |
669 >>> Testing *Iter* using d.update((("a", %s),)) | 669 >>> Testing *Iter* using d.update((("a", %s),)) |
670 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 670 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
671 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 671 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
672 <<< Finished | 672 <<< Finished |
673 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) | 673 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
674 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 674 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
675 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 675 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
676 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 676 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
677 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 677 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
678 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 678 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
679 <<< Finished | 679 <<< Finished |
688 >>> Testing *Iter* using vim.List(%s) | 688 >>> Testing *Iter* using vim.List(%s) |
689 vim.List(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 689 vim.List(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) |
690 vim.List(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 690 vim.List(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
691 <<< Finished | 691 <<< Finished |
692 >>> Testing StringToChars using vim.List([{%s : 1}]) | 692 >>> Testing StringToChars using vim.List([{%s : 1}]) |
693 vim.List([{1 : 1}]):(<class 'TypeError'>, TypeError('object must be string',)) | 693 vim.List([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
694 vim.List([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 694 vim.List([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
695 vim.List([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 695 vim.List([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
696 <<< Finished | 696 <<< Finished |
697 >>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}]) | 697 >>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}]) |
698 vim.List([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('object must be string',)) | 698 vim.List([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
699 vim.List([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 699 vim.List([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
700 vim.List([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 700 vim.List([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
701 <<< Finished | 701 <<< Finished |
702 >>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}]) | 702 >>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}]) |
703 vim.List([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('object must be string',)) | 703 vim.List([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
704 vim.List([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 704 vim.List([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
705 vim.List([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 705 vim.List([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
706 <<< Finished | 706 <<< Finished |
707 >>> Testing *Iter* using vim.List([{"abc" : %s}]) | 707 >>> Testing *Iter* using vim.List([{"abc" : %s}]) |
708 vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 708 vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
709 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 709 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
710 <<< Finished | 710 <<< Finished |
711 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) | 711 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) |
712 vim.List([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 712 vim.List([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
713 vim.List([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 713 vim.List([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
714 vim.List([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 714 vim.List([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
715 vim.List([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 715 vim.List([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
716 vim.List([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 716 vim.List([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
717 <<< Finished | 717 <<< Finished |
718 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) | 718 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) |
719 vim.List([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('object must be string',)) | 719 vim.List([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
720 vim.List([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 720 vim.List([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
721 vim.List([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 721 vim.List([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
722 <<< Finished | 722 <<< Finished |
723 >>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})]) | 723 >>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})]) |
724 vim.List([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('object must be string',)) | 724 vim.List([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
725 vim.List([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 725 vim.List([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
726 vim.List([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 726 vim.List([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
727 <<< Finished | 727 <<< Finished |
728 >>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})]) | 728 >>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})]) |
729 vim.List([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('object must be string',)) | 729 vim.List([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
730 vim.List([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 730 vim.List([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
731 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 731 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
732 <<< Finished | 732 <<< Finished |
733 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})]) | 733 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})]) |
734 vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 734 vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
735 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 735 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
736 <<< Finished | 736 <<< Finished |
737 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) | 737 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) |
738 vim.List([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 738 vim.List([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
739 vim.List([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 739 vim.List([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
740 vim.List([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 740 vim.List([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
741 vim.List([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 741 vim.List([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
742 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 742 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
743 <<< Finished | 743 <<< Finished |
744 >>> Testing *Iter* using vim.List([%s]) | 744 >>> Testing *Iter* using vim.List([%s]) |
745 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 745 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
746 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 746 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) |
747 <<< Finished | 747 <<< Finished |
748 >>> Testing ConvertFromPyObject using vim.List([%s]) | 748 >>> Testing ConvertFromPyObject using vim.List([%s]) |
749 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 749 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
750 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 750 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
751 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 751 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
752 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 752 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) |
753 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 753 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) |
754 <<< Finished | 754 <<< Finished |
762 >>> Testing *Iter* using l[:] = %s | 762 >>> Testing *Iter* using l[:] = %s |
763 l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError()) | 763 l[:] = FailingIter():(<class 'NotImplementedError'>, NotImplementedError()) |
764 l[:] = FailingIterNext()::(<class 'NotImplementedError'>, NotImplementedError()) | 764 l[:] = FailingIterNext()::(<class 'NotImplementedError'>, NotImplementedError()) |
765 <<< Finished | 765 <<< Finished |
766 >>> Testing StringToChars using l[:] = [{%s : 1}] | 766 >>> Testing StringToChars using l[:] = [{%s : 1}] |
767 l[:] = [{1 : 1}]:(<class 'TypeError'>, TypeError('object must be string',)) | 767 l[:] = [{1 : 1}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
768 l[:] = [{b"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 768 l[:] = [{b"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
769 l[:] = [{"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 769 l[:] = [{"\0" : 1}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
770 <<< Finished | 770 <<< Finished |
771 >>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}] | 771 >>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}] |
772 l[:] = [{"abc" : {1 : 1}}]:(<class 'TypeError'>, TypeError('object must be string',)) | 772 l[:] = [{"abc" : {1 : 1}}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
773 l[:] = [{"abc" : {b"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 773 l[:] = [{"abc" : {b"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
774 l[:] = [{"abc" : {"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 774 l[:] = [{"abc" : {"\0" : 1}}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
775 <<< Finished | 775 <<< Finished |
776 >>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}] | 776 >>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}] |
777 l[:] = [{"abc" : Mapping({1 : 1})}]:(<class 'TypeError'>, TypeError('object must be string',)) | 777 l[:] = [{"abc" : Mapping({1 : 1})}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
778 l[:] = [{"abc" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 778 l[:] = [{"abc" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
779 l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 779 l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
780 <<< Finished | 780 <<< Finished |
781 >>> Testing *Iter* using l[:] = [{"abc" : %s}] | 781 >>> Testing *Iter* using l[:] = [{"abc" : %s}] |
782 l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 782 l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
783 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 783 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
784 <<< Finished | 784 <<< Finished |
785 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] | 785 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] |
786 l[:] = [{"abc" : None}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 786 l[:] = [{"abc" : None}]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
787 l[:] = [{"abc" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 787 l[:] = [{"abc" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
788 l[:] = [{"abc" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 788 l[:] = [{"abc" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
789 l[:] = [{"abc" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 789 l[:] = [{"abc" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
790 l[:] = [{"abc" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 790 l[:] = [{"abc" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
791 <<< Finished | 791 <<< Finished |
792 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] | 792 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] |
793 l[:] = [Mapping({1 : 1})]:(<class 'TypeError'>, TypeError('object must be string',)) | 793 l[:] = [Mapping({1 : 1})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
794 l[:] = [Mapping({b"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 794 l[:] = [Mapping({b"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
795 l[:] = [Mapping({"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 795 l[:] = [Mapping({"\0" : 1})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
796 <<< Finished | 796 <<< Finished |
797 >>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})] | 797 >>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})] |
798 l[:] = [Mapping({"abc" : {1 : 1}})]:(<class 'TypeError'>, TypeError('object must be string',)) | 798 l[:] = [Mapping({"abc" : {1 : 1}})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
799 l[:] = [Mapping({"abc" : {b"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 799 l[:] = [Mapping({"abc" : {b"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
800 l[:] = [Mapping({"abc" : {"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 800 l[:] = [Mapping({"abc" : {"\0" : 1}})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
801 <<< Finished | 801 <<< Finished |
802 >>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})] | 802 >>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})] |
803 l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:(<class 'TypeError'>, TypeError('object must be string',)) | 803 l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
804 l[:] = [Mapping({"abc" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 804 l[:] = [Mapping({"abc" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
805 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 805 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
806 <<< Finished | 806 <<< Finished |
807 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})] | 807 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})] |
808 l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 808 l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
809 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 809 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
810 <<< Finished | 810 <<< Finished |
811 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})] | 811 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})] |
812 l[:] = [Mapping({"abc" : None})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 812 l[:] = [Mapping({"abc" : None})]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
813 l[:] = [Mapping({"abc" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 813 l[:] = [Mapping({"abc" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
814 l[:] = [Mapping({"abc" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 814 l[:] = [Mapping({"abc" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
815 l[:] = [Mapping({"abc" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 815 l[:] = [Mapping({"abc" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
816 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 816 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
817 <<< Finished | 817 <<< Finished |
818 >>> Testing *Iter* using l[:] = [%s] | 818 >>> Testing *Iter* using l[:] = [%s] |
819 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 819 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
820 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError()) | 820 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError()) |
821 <<< Finished | 821 <<< Finished |
822 >>> Testing ConvertFromPyObject using l[:] = [%s] | 822 >>> Testing ConvertFromPyObject using l[:] = [%s] |
823 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 823 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
824 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 824 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
825 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 825 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
826 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError()) | 826 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError()) |
827 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError()) | 827 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError()) |
828 <<< Finished | 828 <<< Finished |
830 >>> Testing *Iter* using l.extend(%s) | 830 >>> Testing *Iter* using l.extend(%s) |
831 l.extend(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 831 l.extend(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) |
832 l.extend(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 832 l.extend(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
833 <<< Finished | 833 <<< Finished |
834 >>> Testing StringToChars using l.extend([{%s : 1}]) | 834 >>> Testing StringToChars using l.extend([{%s : 1}]) |
835 l.extend([{1 : 1}]):(<class 'TypeError'>, TypeError('object must be string',)) | 835 l.extend([{1 : 1}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
836 l.extend([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 836 l.extend([{b"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
837 l.extend([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 837 l.extend([{"\0" : 1}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
838 <<< Finished | 838 <<< Finished |
839 >>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}]) | 839 >>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}]) |
840 l.extend([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('object must be string',)) | 840 l.extend([{"abc" : {1 : 1}}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
841 l.extend([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 841 l.extend([{"abc" : {b"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
842 l.extend([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 842 l.extend([{"abc" : {"\0" : 1}}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
843 <<< Finished | 843 <<< Finished |
844 >>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}]) | 844 >>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}]) |
845 l.extend([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('object must be string',)) | 845 l.extend([{"abc" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
846 l.extend([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 846 l.extend([{"abc" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
847 l.extend([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 847 l.extend([{"abc" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
848 <<< Finished | 848 <<< Finished |
849 >>> Testing *Iter* using l.extend([{"abc" : %s}]) | 849 >>> Testing *Iter* using l.extend([{"abc" : %s}]) |
850 l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 850 l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
851 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 851 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
852 <<< Finished | 852 <<< Finished |
853 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}]) | 853 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}]) |
854 l.extend([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 854 l.extend([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
855 l.extend([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 855 l.extend([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
856 l.extend([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 856 l.extend([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
857 l.extend([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 857 l.extend([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
858 l.extend([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 858 l.extend([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
859 <<< Finished | 859 <<< Finished |
860 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) | 860 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) |
861 l.extend([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('object must be string',)) | 861 l.extend([Mapping({1 : 1})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
862 l.extend([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 862 l.extend([Mapping({b"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
863 l.extend([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 863 l.extend([Mapping({"\0" : 1})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
864 <<< Finished | 864 <<< Finished |
865 >>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})]) | 865 >>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})]) |
866 l.extend([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('object must be string',)) | 866 l.extend([Mapping({"abc" : {1 : 1}})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
867 l.extend([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 867 l.extend([Mapping({"abc" : {b"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
868 l.extend([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 868 l.extend([Mapping({"abc" : {"\0" : 1}})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
869 <<< Finished | 869 <<< Finished |
870 >>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})]) | 870 >>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})]) |
871 l.extend([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('object must be string',)) | 871 l.extend([Mapping({"abc" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
872 l.extend([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 872 l.extend([Mapping({"abc" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
873 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 873 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
874 <<< Finished | 874 <<< Finished |
875 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})]) | 875 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})]) |
876 l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 876 l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
877 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 877 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
878 <<< Finished | 878 <<< Finished |
879 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})]) | 879 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})]) |
880 l.extend([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 880 l.extend([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
881 l.extend([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 881 l.extend([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
882 l.extend([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 882 l.extend([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
883 l.extend([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 883 l.extend([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
884 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 884 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
885 <<< Finished | 885 <<< Finished |
886 >>> Testing *Iter* using l.extend([%s]) | 886 >>> Testing *Iter* using l.extend([%s]) |
887 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 887 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
888 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 888 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) |
889 <<< Finished | 889 <<< Finished |
890 >>> Testing ConvertFromPyObject using l.extend([%s]) | 890 >>> Testing ConvertFromPyObject using l.extend([%s]) |
891 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 891 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
892 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 892 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
893 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 893 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
894 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 894 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) |
895 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 895 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) |
896 <<< Finished | 896 <<< Finished |
897 >> ListSetattr | 897 >> ListSetattr |
898 del l.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.List attributes',)) | 898 del l.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.List attributes',)) |
899 l.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) | 899 l.locked = FailingTrue():(<class 'NotImplementedError'>, NotImplementedError()) |
900 l.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set this attribute',)) | 900 l.xxx = True:(<class 'AttributeError'>, AttributeError('cannot set attribute xxx',)) |
901 > Function | 901 > Function |
902 >> FunctionConstructor | 902 >> FunctionConstructor |
903 vim.Function("123"):(<class 'ValueError'>, ValueError('unnamed function does not exist',)) | 903 vim.Function("123"):(<class 'ValueError'>, ValueError('unnamed function 123 does not exist',)) |
904 vim.Function("xxx_non_existent_function_xxx"):(<class 'ValueError'>, ValueError('function does not exist',)) | 904 vim.Function("xxx_non_existent_function_xxx"):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx does not exist',)) |
905 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED | 905 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED |
906 >> FunctionCall | 906 >> FunctionCall |
907 >>> Testing StringToChars using f({%s : 1}) | 907 >>> Testing StringToChars using f({%s : 1}) |
908 f({1 : 1}):(<class 'TypeError'>, TypeError('object must be string',)) | 908 f({1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
909 f({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 909 f({b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
910 f({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 910 f({"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
911 <<< Finished | 911 <<< Finished |
912 >>> Testing StringToChars using f({"abc" : {%s : 1}}) | 912 >>> Testing StringToChars using f({"abc" : {%s : 1}}) |
913 f({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',)) | 913 f({"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
914 f({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 914 f({"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
915 f({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 915 f({"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
916 <<< Finished | 916 <<< Finished |
917 >>> Testing StringToChars using f({"abc" : Mapping({%s : 1})}) | 917 >>> Testing StringToChars using f({"abc" : Mapping({%s : 1})}) |
918 f({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',)) | 918 f({"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
919 f({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 919 f({"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
920 f({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 920 f({"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
921 <<< Finished | 921 <<< Finished |
922 >>> Testing *Iter* using f({"abc" : %s}) | 922 >>> Testing *Iter* using f({"abc" : %s}) |
923 f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 923 f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
924 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 924 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
925 <<< Finished | 925 <<< Finished |
926 >>> Testing ConvertFromPyObject using f({"abc" : %s}) | 926 >>> Testing ConvertFromPyObject using f({"abc" : %s}) |
927 f({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 927 f({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
928 f({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 928 f({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
929 f({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 929 f({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
930 f({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 930 f({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
931 f({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 931 f({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
932 <<< Finished | 932 <<< Finished |
933 >>> Testing StringToChars using f(Mapping({%s : 1})) | 933 >>> Testing StringToChars using f(Mapping({%s : 1})) |
934 f(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',)) | 934 f(Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
935 f(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 935 f(Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
936 f(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 936 f(Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
937 <<< Finished | 937 <<< Finished |
938 >>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}})) | 938 >>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}})) |
939 f(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',)) | 939 f(Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
940 f(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 940 f(Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
941 f(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 941 f(Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
942 <<< Finished | 942 <<< Finished |
943 >>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})})) | 943 >>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})})) |
944 f(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',)) | 944 f(Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
945 f(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 945 f(Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
946 f(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 946 f(Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
947 <<< Finished | 947 <<< Finished |
948 >>> Testing *Iter* using f(Mapping({"abc" : %s})) | 948 >>> Testing *Iter* using f(Mapping({"abc" : %s})) |
949 f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 949 f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
950 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 950 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
951 <<< Finished | 951 <<< Finished |
952 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s})) | 952 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s})) |
953 f(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 953 f(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
954 f(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 954 f(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
955 f(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 955 f(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
956 f(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 956 f(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
957 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 957 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
958 <<< Finished | 958 <<< Finished |
959 >>> Testing *Iter* using f(%s) | 959 >>> Testing *Iter* using f(%s) |
960 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 960 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
961 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 961 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
962 <<< Finished | 962 <<< Finished |
963 >>> Testing ConvertFromPyObject using f(%s) | 963 >>> Testing ConvertFromPyObject using f(%s) |
964 f(None):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 964 f(None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
965 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 965 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
966 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 966 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
967 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 967 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
968 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 968 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
969 <<< Finished | 969 <<< Finished |
970 >>> Testing StringToChars using fd(self={%s : 1}) | 970 >>> Testing StringToChars using fd(self={%s : 1}) |
971 fd(self={1 : 1}):(<class 'TypeError'>, TypeError('object must be string',)) | 971 fd(self={1 : 1}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
972 fd(self={b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 972 fd(self={b"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
973 fd(self={"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 973 fd(self={"\0" : 1}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
974 <<< Finished | 974 <<< Finished |
975 >>> Testing StringToChars using fd(self={"abc" : {%s : 1}}) | 975 >>> Testing StringToChars using fd(self={"abc" : {%s : 1}}) |
976 fd(self={"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('object must be string',)) | 976 fd(self={"abc" : {1 : 1}}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
977 fd(self={"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 977 fd(self={"abc" : {b"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
978 fd(self={"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 978 fd(self={"abc" : {"\0" : 1}}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
979 <<< Finished | 979 <<< Finished |
980 >>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})}) | 980 >>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})}) |
981 fd(self={"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('object must be string',)) | 981 fd(self={"abc" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
982 fd(self={"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 982 fd(self={"abc" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
983 fd(self={"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 983 fd(self={"abc" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
984 <<< Finished | 984 <<< Finished |
985 >>> Testing *Iter* using fd(self={"abc" : %s}) | 985 >>> Testing *Iter* using fd(self={"abc" : %s}) |
986 fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 986 fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
987 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 987 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
988 <<< Finished | 988 <<< Finished |
989 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s}) | 989 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s}) |
990 fd(self={"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 990 fd(self={"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
991 fd(self={"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 991 fd(self={"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
992 fd(self={"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 992 fd(self={"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
993 fd(self={"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 993 fd(self={"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
994 fd(self={"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 994 fd(self={"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
995 <<< Finished | 995 <<< Finished |
996 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) | 996 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) |
997 fd(self=Mapping({1 : 1})):(<class 'TypeError'>, TypeError('object must be string',)) | 997 fd(self=Mapping({1 : 1})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
998 fd(self=Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 998 fd(self=Mapping({b"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
999 fd(self=Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 999 fd(self=Mapping({"\0" : 1})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1000 <<< Finished | 1000 <<< Finished |
1001 >>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}})) | 1001 >>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}})) |
1002 fd(self=Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('object must be string',)) | 1002 fd(self=Mapping({"abc" : {1 : 1}})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1003 fd(self=Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1003 fd(self=Mapping({"abc" : {b"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1004 fd(self=Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1004 fd(self=Mapping({"abc" : {"\0" : 1}})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1005 <<< Finished | 1005 <<< Finished |
1006 >>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})})) | 1006 >>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})})) |
1007 fd(self=Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('object must be string',)) | 1007 fd(self=Mapping({"abc" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1008 fd(self=Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1008 fd(self=Mapping({"abc" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1009 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1009 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1010 <<< Finished | 1010 <<< Finished |
1011 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s})) | 1011 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s})) |
1012 fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 1012 fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) |
1013 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1013 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
1014 <<< Finished | 1014 <<< Finished |
1015 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s})) | 1015 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s})) |
1016 fd(self=Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 1016 fd(self=Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim structure',)) |
1017 fd(self=Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1017 fd(self=Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1018 fd(self=Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1018 fd(self=Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1019 fd(self=Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1019 fd(self=Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
1020 fd(self=Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1020 fd(self=Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
1021 <<< Finished | 1021 <<< Finished |
1022 >>> Testing *Iter* using fd(self=%s) | 1022 >>> Testing *Iter* using fd(self=%s) |
1023 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1023 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim dictionary',)) |
1024 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1024 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert FailingIterNext to vim dictionary',)) |
1025 <<< Finished | 1025 <<< Finished |
1026 >>> Testing ConvertFromPyObject using fd(self=%s) | 1026 >>> Testing ConvertFromPyObject using fd(self=%s) |
1027 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1027 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim dictionary',)) |
1028 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1028 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1029 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1029 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1030 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 1030 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
1031 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 1031 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
1032 <<< Finished | 1032 <<< Finished |
1041 vim.tabpages[1000]:(<class 'IndexError'>, IndexError('no such tab page',)) | 1041 vim.tabpages[1000]:(<class 'IndexError'>, IndexError('no such tab page',)) |
1042 > Window | 1042 > Window |
1043 >> WindowAttr | 1043 >> WindowAttr |
1044 vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' object has no attribute 'xxx'",)) | 1044 vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' object has no attribute 'xxx'",)) |
1045 >> WindowSetattr | 1045 >> WindowSetattr |
1046 vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute',)) | 1046 vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute: buffer',)) |
1047 vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',)) | 1047 vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',)) |
1048 vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',)) | 1048 vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',)) |
1049 vim.current.window.height = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) | 1049 vim.current.window.height = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) |
1050 vim.current.window.width = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) | 1050 vim.current.window.width = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) |
1051 vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',)) | 1051 vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',)) |
1069 >> RBAsItem | 1069 >> RBAsItem |
1070 vim.current.buffer[100000000] = "":(<class 'IndexError'>, IndexError('line number out of range',)) | 1070 vim.current.buffer[100000000] = "":(<class 'IndexError'>, IndexError('line number out of range',)) |
1071 >> BufferAttr | 1071 >> BufferAttr |
1072 vim.current.buffer.xxx:(<class 'AttributeError'>, AttributeError("'vim.buffer' object has no attribute 'xxx'",)) | 1072 vim.current.buffer.xxx:(<class 'AttributeError'>, AttributeError("'vim.buffer' object has no attribute 'xxx'",)) |
1073 >> BufferSetattr | 1073 >> BufferSetattr |
1074 vim.current.buffer.name = True:(<class 'TypeError'>, TypeError('object must be string',)) | 1074 vim.current.buffer.name = True:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got bool',)) |
1075 vim.current.buffer.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) | 1075 vim.current.buffer.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) |
1076 >> BufferMark | 1076 >> BufferMark |
1077 vim.current.buffer.mark(0):(<class 'TypeError'>, TypeError('object must be string',)) | 1077 vim.current.buffer.mark(0):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1078 vim.current.buffer.mark("abc"):(<class 'ValueError'>, ValueError('mark name must be a single character',)) | 1078 vim.current.buffer.mark("abc"):(<class 'ValueError'>, ValueError('mark name must be a single character',)) |
1079 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) | 1079 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) |
1080 >> BufferRange | 1080 >> BufferRange |
1081 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) | 1081 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) |
1082 > BufMap | 1082 > BufMap |
1086 > Current | 1086 > Current |
1087 >> CurrentGetattr | 1087 >> CurrentGetattr |
1088 vim.current.xxx:(<class 'AttributeError'>, AttributeError("'vim.currentdata' object has no attribute 'xxx'",)) | 1088 vim.current.xxx:(<class 'AttributeError'>, AttributeError("'vim.currentdata' object has no attribute 'xxx'",)) |
1089 >> CurrentSetattr | 1089 >> CurrentSetattr |
1090 vim.current.line = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) | 1090 vim.current.line = True:(<class 'TypeError'>, TypeError('bad argument type for built-in operation',)) |
1091 vim.current.buffer = True:(<class 'TypeError'>, TypeError('expected vim.Buffer object',)) | 1091 vim.current.buffer = True:(<class 'TypeError'>, TypeError('expected vim.Buffer object, but got bool',)) |
1092 vim.current.window = True:(<class 'TypeError'>, TypeError('expected vim.Window object',)) | 1092 vim.current.window = True:(<class 'TypeError'>, TypeError('expected vim.Window object, but got bool',)) |
1093 vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected vim.TabPage object',)) | 1093 vim.current.tabpage = True:(<class 'TypeError'>, TypeError('expected vim.TabPage object, but got bool',)) |
1094 vim.current.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) | 1094 vim.current.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) |
1095 3,xx | 1095 3,xx |
1096 before | 1096 before |
1097 after | 1097 after |
1098 vim.command("throw 'abc'"):(<class 'vim.error'>, error('abc',)) | 1098 vim.command("throw 'abc'"):(<class 'vim.error'>, error('abc',)) |