diff --git a/src/sage/graphs/generic_graph.py b/src/sage/graphs/generic_graph.py index 50e7c5dc17a..df83636d4ae 100644 --- a/src/sage/graphs/generic_graph.py +++ b/src/sage/graphs/generic_graph.py @@ -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")