Commit c4402ad
Improve code coverage to 99% by adding missing tests and removing dead code
- Remove unused _dispatch_convert function from dicttoxml.py
- Add tests for parallel processing with cdata and xml_namespaces
- Add test for exception handling in is_free_threaded
- Add test for unsupported types in parallel list processing
- Fix type checker issues using cast instead of ignore
Amp-Thread-ID: https://ampcode.com/threads/T-17f644e1-8fd3-4bb2-b2c6-bcb9119cfc98
Co-authored-by: Amp <[email protected]>1 parent af3a56a commit c4402ad
File tree
3 files changed
+46
-43
lines changed- json2xml
- tests
3 files changed
+46
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | 739 | | |
775 | 740 | | |
776 | 741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
776 | 788 | | |
777 | 789 | | |
778 | | - | |
779 | 790 | | |
780 | 791 | | |
781 | 792 | | |
782 | | - | |
| 793 | + | |
783 | 794 | | |
784 | 795 | | |
785 | 796 | | |
786 | | - | |
787 | 797 | | |
788 | 798 | | |
789 | 799 | | |
| |||
793 | 803 | | |
794 | 804 | | |
795 | 805 | | |
796 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
797 | 812 | | |
798 | | - | |
799 | | - | |
| 813 | + | |
800 | 814 | | |
801 | 815 | | |
802 | 816 | | |
803 | 817 | | |
804 | 818 | | |
805 | 819 | | |
806 | 820 | | |
807 | | - | |
| 821 | + | |
808 | 822 | | |
809 | 823 | | |
810 | | - | |
811 | 824 | | |
812 | 825 | | |
813 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
29 | 45 | | |
30 | 46 | | |
31 | 47 | | |
| |||
373 | 389 | | |
374 | 390 | | |
375 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
376 | 401 | | |
377 | 402 | | |
378 | 403 | | |
| |||
0 commit comments