Commit e650dc4
committed
refactor(tests): parametrize byte-type check and simplify assertions
Collapse the two duplicate test methods into one parametrized test,
move the isinstance assertion outside the Stream context manager, drop
the custom failure message, and use :class: RST roles in the changelog
entry — all per code-review feedback.1 parent c3f30a1 commit e650dc4
2 files changed
Lines changed: 7 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
200 | 192 | | |
201 | | - | |
202 | | - | |
203 | 193 | | |
204 | 194 | | |
205 | 195 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 196 | + | |
| 197 | + | |
210 | 198 | | |
211 | 199 | | |
212 | 200 | | |
| |||
0 commit comments