Commit 333ad56
authored
fix: update TypeError message assertions for pyo3 0.29 str type errors
pyo3 0.29 changed the TypeError message when passing an int where str
is expected:
- Old: "object cannot be interpreted as str"
- New: "'int' object is not an instance of 'str'"
Update the two failing test assertions to match the new message format.1 parent a5d8417 commit 333ad56
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments