Commit 506976d
committed
testcase: Drop __enter__() return types
Most recent ruff complains about
> PYI034 `__enter__` methods in classes like `SpawnedMock` usually return `self` at runtime
> help: Use `Self` as return type
But neither `Self` nor `self` nor `"Self"` actually works. Let's not
bother, mypy figures out the return type just fine.1 parent b701392 commit 506976d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
0 commit comments