Commit 9888067
authored
Replaced the broad `except Exception:` block in
`assert_consistent_resolve_parameters` with more specific exceptions:
`(TypeError, ValueError, RecursionError, sympy.SympifyError)`. This
prevents hiding internal implementation bugs like `AttributeError` or
`RuntimeError` during parameter resolution tests.
1 parent 336a71f commit 9888067
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments