Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit0e311bf
committed
Suppress type errors in restore_use_shell_state _USE_SHELL branches
These conditional branches are kept so alternative implementationscan be examined, including if they need to be investigated tosatisfy some future requirement. But to be unittest.mock.patchpatchable, the approaches that would have a _USE_SHELL backingattribute would be difficult to implement in a straightforward way,which seems not to be needed or justified at this time.Since that is not anticipated (except as an intermediate step indevelopment), these suppressions make sense, and they will also bereported by mypy if the implementation changes to benefit from them(so long as it is configured with warn_unused_ignores set to true).1 parent4037108 commit0e311bf
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
| 142 | + | |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
|
0 commit comments
Comments
(0)