gh-35499: Fix test output for ipywidgets 8.0.5, part deux
### :books: Description
Apply the change introduced in #35336 to the corresponding `.rst` file
as well.
### :memo: Checklist
- [x] The title is concise, informative, and self-explanatory.
- [ ] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.
### :hourglass: Dependencies
URL: https://github.com/sagemath/sage/pull/35499
Reported by: Mauricio Collares
Reviewer(s): François Bissey