Skip to content

Commit 570fe7a

Browse files
author
Release Manager
committed
gh-36935: src/sage/tests/gap_packages.py: Normalize package names in doctest Fixes #36931 as suggested by @orlitzky Marked blocker so that the failure on fedora does not show up in CI. <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [ ] The title is concise, informative, and self-explanatory. - [ ] 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 accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36935 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents 5161665 + 1156afc commit 570fe7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/tests/gap_packages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def all_installed_packages(ignore_dot_gap=False, gap=None):
103103
EXAMPLES::
104104
105105
sage: from sage.tests.gap_packages import all_installed_packages
106-
sage: all_installed_packages()
107-
(...'gapdoc'...)
106+
sage: [p.lower() for p in all_installed_packages()]
107+
[...'gapdoc'...]
108108
sage: all_installed_packages(ignore_dot_gap=True) == all_installed_packages(gap=gap, ignore_dot_gap=True)
109109
True
110110
"""

0 commit comments

Comments
 (0)