Skip to content

Commit

Permalink
src/sage/misc/package.py: Make 'prompt-toolkit' doctest pass with all…
Browse files Browse the repository at this point in the history
… tool versions
  • Loading branch information
mkoeppe committed Apr 25, 2024
1 parent fce35c8 commit 2cf664d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/misc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ def pip_installed_packages(normalization=None):
sage: d = pip_installed_packages()
sage: 'scipy' in d or 'SciPy' in d
True
sage: d['beautifulsoup4'] # optional - beautifulsoup4
'...'
sage: d['prompt-toolkit']
'...'
sage: sorted(d) # needs beautifulsoup4
[...'beautifulsoup4'...]
sage: sorted(d) # whether - or _ appears in the name depends on tool versions
[...'prompt...toolkit'...]
sage: d = pip_installed_packages(normalization='spkg')
sage: d['prompt_toolkit']
'...'
Expand Down

0 comments on commit 2cf664d

Please sign in to comment.