Commit 2a45fec
Work-around pytest 8.3.0 renaming _TracebackStyle (#159)
* Work-around pytest 8.3.0 renaming _TracebackStyle
Pytest replaced the private name `_pytest._code.code._TracebackStyle`
with `_pytest._code.code.TracebackStyle` in 8.3.0, a change that can't
easily be accounted for when running static type checks.
Replace the imported type with one that's hard-coded locally.
* Fix lint
---------
Co-authored-by: sobolevn <[email protected]>1 parent b9437c8 commit 2a45fec
1 file changed
+19
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
| |||
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
33 | 47 | | |
34 | 48 | | |
35 | 49 | | |
| |||
443 | 457 | | |
444 | 458 | | |
445 | 459 | | |
446 | | - | |
| 460 | + | |
447 | 461 | | |
448 | 462 | | |
449 | 463 | | |
| |||
0 commit comments