Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 3d9ffa2

Browse files
author
Jean-Florent Raymond
committed
Removed deprecated stuff in all.py
1 parent dff481b commit 3d9ffa2

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

src/sage/graphs/all.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
import sage.graphs.partial_cube
1515
from . import graph_list as graphs_list
1616
lazy_import("sage.graphs", "graph_coloring")
17-
lazy_import("sage.graphs.cliquer", ['all_max_clique', 'max_clique',
18-
'clique_number'],
19-
deprecation=26200)
2017
from .graph_database import graph_db_info
2118
lazy_import("sage.graphs.graph_editor", "graph_editor")
2219

@@ -35,15 +32,15 @@
3532
sage.graphs.cliquer are deprecated from the global namespace (:trac:`26200`)::
3633
3734
sage: all_max_clique(Graph())
38-
doctest:...: DeprecationWarning: Importing all_max_clique from here is deprecated. If you need to use it, please import it directly from sage.graphs.cliquer
39-
See https://trac.sagemath.org/26200 for details.
40-
[[]]
35+
Traceback (most recent call last):
36+
...
37+
NameError: name 'all_max_clique' is not defined
4138
sage: max_clique(Graph())
42-
doctest:...: DeprecationWarning: Importing max_clique from here is deprecated. If you need to use it, please import it directly from sage.graphs.cliquer
43-
See https://trac.sagemath.org/26200 for details.
44-
[]
39+
Traceback (most recent call last):
40+
...
41+
NameError: name 'max_clique' is not defined
4542
sage: clique_number(Graph())
46-
doctest:...: DeprecationWarning: Importing clique_number from here is deprecated. If you need to use it, please import it directly from sage.graphs.cliquer
47-
See https://trac.sagemath.org/26200 for details.
48-
0
43+
Traceback (most recent call last):
44+
...
45+
NameError: name 'clique_number' is not defined
4946
"""

0 commit comments

Comments
 (0)