1 | Running doctests with ID 2014-05-19-10-36-14-deaa3b7d. |
---|
2 | Doctesting 1 file. |
---|
3 | [?1034hsage -t --long src/sage/combinat/designs/database.py |
---|
4 | ********************************************************************** |
---|
5 | File "src/sage/combinat/designs/database.py", line 96, in sage.combinat.designs.database.TD_6_12 |
---|
6 | Failed example: |
---|
7 | TD = TD_6_12() |
---|
8 | Expected nothing |
---|
9 | Got: |
---|
10 | doctest:128: DeprecationWarning: The default behaviour changed ! If you *really* want a linear combination of smith generators, use .linear_combination_of_smith_form_gens. |
---|
11 | See http://trac.sagemath.org/16261 for details. |
---|
12 | ********************************************************************** |
---|
13 | File "src/sage/combinat/designs/database.py", line 517, in sage.combinat.designs.database.OA_9_24 |
---|
14 | Failed example: |
---|
15 | OA = OA_9_24() |
---|
16 | Exception raised: |
---|
17 | Traceback (most recent call last): |
---|
18 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 480, in _run |
---|
19 | self.execute(example, compiled, test.globs) |
---|
20 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 839, in execute |
---|
21 | exec compiled in globs |
---|
22 | File "<doctest sage.combinat.designs.database.OA_9_24[2]>", line 1, in <module> |
---|
23 | OA = OA_9_24() |
---|
24 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/combinat/designs/database.py", line 538, in OA_9_24 |
---|
25 | M = [G([int(c),int(d),rlabel[int(b),int(a)]]) for a,b,c,d in M.split()] |
---|
26 | File "parent.pyx", line 1070, in sage.structure.parent.Parent.__call__ (sage/structure/parent.c:8858) |
---|
27 | File "coerce_maps.pyx", line 95, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (sage/structure/coerce_maps.c:4206) |
---|
28 | File "coerce_maps.pyx", line 90, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (sage/structure/coerce_maps.c:4113) |
---|
29 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/modules/fg_pid/fgp_module.py", line 616, in _element_constructor_ |
---|
30 | return self.element_class(self, self._V(x)) |
---|
31 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 951, in __call__ |
---|
32 | return self._element_class(self, x, coerce, copy) |
---|
33 | File "vector_integer_dense.pyx", line 106, in sage.modules.vector_integer_dense.Vector_integer_dense.__init__ (sage/modules/vector_integer_dense.c:3193) |
---|
34 | TypeError: x must be a list of the right length |
---|
35 | ********************************************************************** |
---|
36 | File "src/sage/combinat/designs/database.py", line 518, in sage.combinat.designs.database.OA_9_24 |
---|
37 | Failed example: |
---|
38 | print is_orthogonal_array(OA,9,24,2) |
---|
39 | Exception raised: |
---|
40 | Traceback (most recent call last): |
---|
41 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 480, in _run |
---|
42 | self.execute(example, compiled, test.globs) |
---|
43 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 839, in execute |
---|
44 | exec compiled in globs |
---|
45 | File "<doctest sage.combinat.designs.database.OA_9_24[3]>", line 1, in <module> |
---|
46 | print is_orthogonal_array(OA,Integer(9),Integer(24),Integer(2)) |
---|
47 | NameError: name 'OA' is not defined |
---|
48 | ********************************************************************** |
---|
49 | File "src/sage/combinat/designs/database.py", line 1657, in sage.combinat.designs.database.OA_7_60 |
---|
50 | Failed example: |
---|
51 | OA = OA_7_60() |
---|
52 | Expected nothing |
---|
53 | Got: |
---|
54 | doctest:1676: DeprecationWarning: The default behaviour changed ! If you *really* want a linear combination of smith generators, use .linear_combination_of_smith_form_gens. |
---|
55 | See http://trac.sagemath.org/16261 for details. |
---|
56 | doctest:1679: DeprecationWarning: The default behaviour changed ! If you *really* want a linear combination of smith generators, use .linear_combination_of_smith_form_gens. |
---|
57 | See http://trac.sagemath.org/16261 for details. |
---|
58 | ********************************************************************** |
---|
59 | 3 items had failures: |
---|
60 | 1 of 6 in sage.combinat.designs.database.OA_7_60 |
---|
61 | 2 of 6 in sage.combinat.designs.database.OA_9_24 |
---|
62 | 1 of 6 in sage.combinat.designs.database.TD_6_12 |
---|
63 | [200 tests, 4 failures, 20.60 s] |
---|
64 | ---------------------------------------------------------------------- |
---|
65 | sage -t --long src/sage/combinat/designs/database.py # 4 doctests failed |
---|
66 | ---------------------------------------------------------------------- |
---|
67 | Total time for all tests: 20.7 seconds |
---|
68 | cpu time: 20.4 seconds |
---|
69 | cumulative wall time: 20.6 seconds |
---|
70 | Running doctests with ID 2014-05-19-10-36-48-33e21ea3. |
---|
71 | Doctesting 1 file. |
---|
72 | [?1034hsage -t --long src/sage/combinat/designs/orthogonal_arrays.py |
---|
73 | ********************************************************************** |
---|
74 | File "src/sage/combinat/designs/orthogonal_arrays.py", line 199, in sage.combinat.designs.orthogonal_arrays.transversal_design |
---|
75 | Failed example: |
---|
76 | _ = designs.transversal_design(6,60) |
---|
77 | Expected nothing |
---|
78 | Got: |
---|
79 | doctest:128: DeprecationWarning: The default behaviour changed ! If you *really* want a linear combination of smith generators, use .linear_combination_of_smith_form_gens. |
---|
80 | See http://trac.sagemath.org/16261 for details. |
---|
81 | ********************************************************************** |
---|
82 | File "src/sage/combinat/designs/orthogonal_arrays.py", line 205, in sage.combinat.designs.orthogonal_arrays.transversal_design |
---|
83 | Failed example: |
---|
84 | for n in xrange(2,25): # long time -- 15 secs |
---|
85 | i = 2 |
---|
86 | while designs.transversal_design(i, n, existence=True) is True: |
---|
87 | i += 1 |
---|
88 | _ = designs.transversal_design(i-1, n) |
---|
89 | assert designs.transversal_design(None, n, existence=True) == i - 1 |
---|
90 | j = i |
---|
91 | while designs.transversal_design(j, n, existence=True) is Unknown: |
---|
92 | try: |
---|
93 | _ = designs.transversal_design(j, n) |
---|
94 | raise AssertionError("no NotImplementedError") |
---|
95 | except NotImplementedError: |
---|
96 | pass |
---|
97 | j += 1 |
---|
98 | k = j |
---|
99 | while k < n+4: |
---|
100 | assert designs.transversal_design(k, n, existence=True) is False |
---|
101 | try: |
---|
102 | _ = designs.transversal_design(k, n) |
---|
103 | raise AssertionError("no EmptySetError") |
---|
104 | except EmptySetError: |
---|
105 | pass |
---|
106 | k += 1 |
---|
107 | print "%2d: (%2d, %2d)"%(n,i,j) |
---|
108 | Exception raised: |
---|
109 | Traceback (most recent call last): |
---|
110 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 480, in _run |
---|
111 | self.execute(example, compiled, test.globs) |
---|
112 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 839, in execute |
---|
113 | exec compiled in globs |
---|
114 | File "<doctest sage.combinat.designs.orthogonal_arrays.transversal_design[29]>", line 5, in <module> |
---|
115 | _ = designs.transversal_design(i-Integer(1), n) |
---|
116 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/combinat/designs/orthogonal_arrays.py", line 318, in transversal_design |
---|
117 | OA = orthogonal_array(k,n, check = False, who_asked = who_asked + (transversal_design,)) |
---|
118 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/combinat/designs/orthogonal_arrays.py", line 794, in orthogonal_array |
---|
119 | OA = OA_from_wider_OA(construction(),k) |
---|
120 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/combinat/designs/database.py", line 538, in OA_9_24 |
---|
121 | M = [G([int(c),int(d),rlabel[int(b),int(a)]]) for a,b,c,d in M.split()] |
---|
122 | File "parent.pyx", line 1070, in sage.structure.parent.Parent.__call__ (sage/structure/parent.c:8858) |
---|
123 | File "coerce_maps.pyx", line 95, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (sage/structure/coerce_maps.c:4206) |
---|
124 | File "coerce_maps.pyx", line 90, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (sage/structure/coerce_maps.c:4113) |
---|
125 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/modules/fg_pid/fgp_module.py", line 616, in _element_constructor_ |
---|
126 | return self.element_class(self, self._V(x)) |
---|
127 | File "/home/ralf/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 951, in __call__ |
---|
128 | return self._element_class(self, x, coerce, copy) |
---|
129 | File "vector_integer_dense.pyx", line 106, in sage.modules.vector_integer_dense.Vector_integer_dense.__init__ (sage/modules/vector_integer_dense.c:3193) |
---|
130 | TypeError: x must be a list of the right length |
---|
131 | ********************************************************************** |
---|
132 | 1 item had failures: |
---|
133 | 2 of 34 in sage.combinat.designs.orthogonal_arrays.transversal_design |
---|
134 | [76 tests, 2 failures, 8.24 s] |
---|
135 | ---------------------------------------------------------------------- |
---|
136 | sage -t --long src/sage/combinat/designs/orthogonal_arrays.py # 2 doctests failed |
---|
137 | ---------------------------------------------------------------------- |
---|
138 | Total time for all tests: 8.3 seconds |
---|
139 | cpu time: 8.0 seconds |
---|
140 | cumulative wall time: 8.2 seconds |
---|