You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-35423: Fix doctests with ipython 8.12
### 📚 Description
As reported in
#35337 (comment), the
update to ipython 8.12 introduces some useless output when calling
`get_ipython().enable_gui(...)` which causes a few doctest failures.
This PR silences this output by (temporarily) redirecting stdout to a
string.
This is only one commit that sits right on top of https://github.com/sag
emath/sage/commit/e9c3333d4145bf631f0eae91514219479e1000ef from #35337.
### 📝 Checklist
- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] Existing tests already cover the changes.
### ⌛ Dependencies
- #35337
URL: #35423
Reported by: Gonzalo Tornaría
Reviewer(s): François Bissey
0 commit comments