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

Commit

Permalink
trac #30377: avoid use of intalled_packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Aug 21, 2020
1 parent a9aa831 commit eadfe03
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/sage/graphs/generic_graph.py
Expand Up @@ -449,11 +449,8 @@ def igraph_feature():
TESTS::

sage: from sage.graphs.generic_graph import igraph_feature
sage: ((igraph_feature().is_present()
....: and 'igraph' in installed_packages())
....: or (not igraph_feature().is_present()
....: and 'igraph' not in installed_packages()))
True
sage: igraph_feature().is_present() # optional - python_igraph
FeatureTestResult('igraph', True)
"""
from sage.features import PythonModule
return PythonModule("igraph", spkg="python_igraph", url="http://igraph.org")
Expand Down

0 comments on commit eadfe03

Please sign in to comment.