Commit 2fdaeac
authored
Fixes #1342
# Description
- Replace custom copy logic in ``clip_box`` with a call to ``deepcopy``,
which works since #1327.
- Also add missing unit test for ``clip_box``
# Checklist
- [x] Links to correct issue
- [ ] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [x] Unit tests were added
- [ ] **If feature added**: Added/extended example
1 parent 85a8048 commit 2fdaeac
2 files changed
Lines changed: 27 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
457 | 456 | | |
458 | 457 | | |
459 | 458 | | |
460 | | - | |
| 459 | + | |
461 | 460 | | |
462 | | - | |
463 | | - | |
464 | | - | |
| 461 | + | |
465 | 462 | | |
466 | 463 | | |
467 | 464 | | |
| |||
800 | 797 | | |
801 | 798 | | |
802 | 799 | | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
| 800 | + | |
807 | 801 | | |
808 | 802 | | |
809 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
914 | | - | |
| 914 | + | |
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
0 commit comments