Skip to content

Commit

Permalink
Trac #25311: Don't check for the exact zn_poly version
Browse files Browse the repository at this point in the history
Currently the doctests check for the version of zn_poly. That makes the
doctests unnecessarily brittle. If somebody updates zn_poly they have to
make a change at an unreleated position and it is an annoyance for
packaging.

URL: https://trac.sagemath.org/25311
Reported by: gh-timokau
Ticket author(s): Timo Kaufmann
Reviewer(s): Jeroen Demeyer
  • Loading branch information
Release Manager authored and vbraun committed Jun 7, 2018
2 parents 1e31d08 + 83b23c8 commit 3751e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def package_versions(package_type, local=False):
sage: std = package_versions('standard', local=True)
sage: 'gap' in std
True
sage: std['zn_poly']
sage: std['zn_poly'] # random
('0.9.p11', '0.9.p11')
"""
return {pkg['name']: (pkg['installed_version'], pkg['remote_version']) for pkg in list_packages(package_type, local=local).values()}
Expand Down

0 comments on commit 3751e76

Please sign in to comment.