Commit 95f0bb4
committed
docs(add[_save_ordered_items]) Add doctest covering YAML and JSON paths
why: Function lacked doctests, violating project requirement that all
functions have working doctests.
what:
- Add doctest exercising YAML output path
- Add doctest exercising JSON output path
- Use tmp_path from doctest_namespace for file I/O
Fixes #5261 parent afe4297 commit 95f0bb4
1 file changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
315 | 343 | | |
316 | 344 | | |
317 | 345 | | |
| |||
0 commit comments