Commit f21b779
fix(tests): improve subprocess error reporting in MCP tests
Replace subprocess.check_call() with subprocess.run() for pip operations.
This ensures stderr is captured and included in CalledProcessError exceptions,
making CI failures easier to debug.
- Use capture_output=True and text=True for better error visibility
- Applies to both pip install and pip uninstall operations
Co-authored-by: neelay-aign <190385684+neelay-aign@users.noreply.github.com>1 parent 1760623 commit f21b779
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
224 | | - | |
| 225 | + | |
225 | 226 | | |
226 | | - | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
0 commit comments