Skip to content

Commit ffe78e0

Browse files
author
Matthias Koeppe
committed
./sage -fixdoctests --distribution 'sagemath-graphs' --probe all --only-tags src/sage/combinat/designs/*.{py,pyx}
1 parent 355bd11 commit ffe78e0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/sage/combinat/designs/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def MOLS_10_2():
107107
108108
The design is available from the general constructor::
109109
110-
sage: designs.orthogonal_arrays.is_available(2,10) # needs sage.modules
110+
sage: designs.orthogonal_arrays.is_available(2,10)
111111
True
112112
"""
113113
from sage.matrix.constructor import Matrix

src/sage/combinat/designs/designs_pyx.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ def is_group_divisible_design(groups,blocks,v,G=None,K=None,lambd=1,verbose=Fals
186186
187187
sage: from sage.combinat.designs.designs_pyx import is_group_divisible_design
188188
sage: TD = designs.transversal_design(4,10) # needs sage.modules
189-
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)] # needs sage.modules
189+
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)]
190190
sage: is_group_divisible_design(groups,TD,40,lambd=1) # needs sage.modules
191191
True
192192
193193
TESTS::
194194
195195
sage: TD = designs.transversal_design(4,10) # needs sage.modules
196-
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)] # needs sage.modules
196+
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)]
197197
sage: is_group_divisible_design(groups, TD, 40, lambd=2, verbose=True) # needs sage.modules
198198
the pair (0,10) has been seen 1 times but lambda=2
199199
False
@@ -366,7 +366,7 @@ def is_pairwise_balanced_design(blocks,v,K=None,lambd=1,verbose=False):
366366
sage: is_pairwise_balanced_design(sts,9,[3],1)
367367
True
368368
sage: TD = designs.transversal_design(4,10).blocks() # needs sage.modules
369-
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)] # needs sage.modules
369+
sage: groups = [list(range(i*10,(i+1)*10)) for i in range(4)]
370370
sage: is_pairwise_balanced_design(TD + groups, 40, [4,10], 1, verbose=True) # needs sage.modules
371371
True
372372

src/sage/combinat/designs/incidence_structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def is_berge_cyclic(self):
12381238
12391239
TESTS::
12401240
1241-
sage: Hypergraph(5, [[1, 2, 3], [2, 3]]).is_berge_cyclic() # needs sage.modules
1241+
sage: Hypergraph(5, [[1, 2, 3], [2, 3]]).is_berge_cyclic()
12421242
Traceback (most recent call last):
12431243
...
12441244
TypeError: Berge cycles are defined for uniform hypergraphs only

src/sage/combinat/designs/twographs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def is_twograph(T):
218218
219219
a non-regular 2-uniform hypergraph which is a two-graph::
220220
221-
sage: is_twograph(TwoGraph([[1,2,3],[1,2,4]])) # needs sage.modules
221+
sage: is_twograph(TwoGraph([[1,2,3],[1,2,4]]))
222222
True
223223
224224
TESTS:

0 commit comments

Comments
 (0)