Commit 90c58aa
committed
fix: handle typeguard TypeCheckError in test_non_string_input
The CI uses typeguard which enforces type annotations at runtime,
raising TypeCheckError instead of TypeError when a non-str argument
is passed to validate_query(). Add TypeCheckError to the expected
exceptions tuple.1 parent 6fafe9b commit 90c58aa
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | | - | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments