Commit 79623d0
Release Manager
gh-40731: Hide spurious stderr output in notebook_cmd_test.py
If you look at the log on the CI, without this change, it would print
out some stuff on stderr.
```
============================= test session starts
==============================
platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0
rootdir: /home/runner/work/sage/sage
configfile: pyproject.toml
plugins: xdist-3.8.0
collected 76 items / 2 skipped
src/sage/cli/eval_cmd_test.py ..
usage: pytest [-h] [-n [{jupyter,jupyterlab}]]
pytest: error: argument -n/--notebook: invalid choice: 'invalid' (choose
from jupyter, jupyterlab)
src/sage/cli/notebook_cmd_test.py .....
src/sage/doctest/parsing_test.py ...........
```
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: #40731
Reported by: user202729
Reviewer(s): Tobias Diez
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments