Commit 7bb1aa6
Style: Use type.__name__ in raises error messages for consistency (#13862)
* Style: Use type.__name__ in raises error messages for consistency
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/_pytest/raises.py
Co-authored-by: Florian Bruhin <me@the-compiler.org>
* Apply suggestions from code review
remove the fixed FIXME comments
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: John Litborn <11260241+jakkdl@users.noreply.github.com>
Co-authored-by: Florian Bruhin <me@the-compiler.org>1 parent 2d3d169 commit 7bb1aa6
File tree
4 files changed
+11
-14
lines changed- changelog
- src/_pytest
- testing/python
4 files changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1094 | 1094 | | |
1095 | 1095 | | |
1096 | 1096 | | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
| 1097 | + | |
1100 | 1098 | | |
1101 | 1099 | | |
1102 | 1100 | | |
| |||
1105 | 1103 | | |
1106 | 1104 | | |
1107 | 1105 | | |
1108 | | - | |
1109 | 1106 | | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
| 1107 | + | |
1113 | 1108 | | |
1114 | 1109 | | |
1115 | 1110 | | |
| |||
0 commit comments