Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #29665: fix sage.misc.package doctest with system alabaster.
Browse files Browse the repository at this point in the history
When alabaster from the system is used, these tests won't be able to
find its SPKG installed. Add some ellipses, and switch one test to
look for sage_conf instead.
  • Loading branch information
orlitzky committed Feb 7, 2022
1 parent afd682a commit baf6301
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/misc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ def installed_packages(exclude_pip=True):
EXAMPLES::
sage: sorted(installed_packages().keys()) # optional - sage_spkg
[...'gmpy2', ...'sage_conf', ...]
sage: installed_packages()['gmpy2'] # optional - sage_spkg, random
'2.1.0b5'
[...'sage_conf', ...]
sage: installed_packages()['sage_conf'] # optional - sage_spkg, random
'9.5'
.. SEEALSO::
Expand Down

0 comments on commit baf6301

Please sign in to comment.