Commit a81abb0
committed
docs(config[save_config_yaml,save_config_json]) add doctests
why: Both functions lacked Examples sections despite the project requiring
working doctests on all public functions.
what:
- Add Examples section to save_config_yaml with round-trip read check
- Add Examples section to save_config_json with json.loads round-trip check1 parent 9dfb37c commit a81abb0
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
803 | 812 | | |
804 | 813 | | |
805 | 814 | | |
| |||
818 | 827 | | |
819 | 828 | | |
820 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
821 | 840 | | |
822 | 841 | | |
823 | 842 | | |
| |||
0 commit comments