(b)
| 558 | |
| 559 | |
| 560 | def _box_state(b): |
| 561 | return ( |
| 562 | type(b), |
| 563 | b.to_dict(), |
| 564 | b.get_comment("Top"), |
| 565 | b.get_comment(None), |
| 566 | b.sub.get_comment("k"), |
| 567 | b.lst.get_comment(1), |
| 568 | b.lst[0].get_comment("i"), |
| 569 | b.lst.get_comment(None), |
| 570 | type(b.sub), |
| 571 | type(b.lst), |
| 572 | type(b.lst[0]), |
| 573 | {k: v for k, v in b._box_config.items() if not k.startswith("__") and k != "box_dots_exclude"}, |
| 574 | b._box_config["box_dots_exclude"] and b._box_config["box_dots_exclude"].pattern, |
| 575 | b.sub._box_config["box_dots"], |
| 576 | b.sub._box_config["frozen_box"], |
| 577 | b.lst.box_options.get("box_dots"), |
| 578 | b.lst[0]._box_config["box_dots"], |
| 579 | ) |
| 580 | |
| 581 | |
| 582 | def test_deepcopy_of_frozen_box_is_frozen_all_the_way_down(): |
no test coverage detected