Commit 90e1534
committed
test(validation): scope list_mod_check like GenericObject._verify_slot
The framework-tier harness in test_included_stateful.py set
obj.list_mod_check = True for the whole detached-ask block and reset it
to a literal False afterward, instead of scoping it to just the
included() call and restoring the ORIGINAL value the way
GenericObject._verify_slot does. Mirror the real method's finally
discipline. Also make tests.matrix_support.allows_other_modifiers
delegate to GenericObject._allows_other_modifiers instead of
re-implementing the attribute-vs-method split, the same way hdc_id
delegates to obj.hdc_id().
No engine logic changes; 77/77 focused tests still pass.1 parent 41f2d3a commit 90e1534
2 files changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | | - | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
0 commit comments