Yes, I agree, in the sense that the failure is coming from the doctests 
added there. I just tried the same doctests (without the rest of the 
changes from #23742) with 8.1.beta8, and the same thing happens. So it 
looks like #23742 adds doctests but doesn't fully fix the issues that the 
doctests are testing.

Can anyone else reproduce this?


On Thursday, November 9, 2017 at 2:44:43 PM UTC-8, François Bissey wrote:
>
> Smells like https://trac.sagemath.org/ticket/23742 
>
> > On 10/11/2017, at 11:31, John H Palmieri <jhpalm...@gmail.com 
> <javascript:>> wrote: 
> > 
> > WIth OS X 10.12.6, Xcode (and the same happens when building with clang, 
> #12426): 
> > 
> > sage -t --long --warn-long 64.0 src/sage/matrix/matrix_mod2_dense.pyx  # 
> Killed due to kill signal 
> > 
> > ********************************************************************** 
> > Tests run before process (pid=12556) failed: 
> > sage: a = matrix(GF(2),3,range(9),sparse=False); a ## line 8 ## 
> > [0 1 0] 
> > [1 0 1] 
> > [0 1 0] 
> > sage: a.rank() ## line 12 ## 
> > 2 
> > sage: type(a) ## line 14 ## 
> > <type 'sage.matrix.matrix_mod2_dense.Matrix_mod2_dense'> 
> > sage: a[0,0] = 1 ## line 16 ## 
> > sage: a.rank() ## line 17 ## 
> > 3 
> > sage: parent(a) ## line 19 ## 
> > Full MatrixSpace of 3 by 3 dense matrices over Finite Field of size 2 
> > sage: a^2 ## line 22 ## 
> > [0 1 1] 
> > [1 0 0] 
> > [1 0 1] 
> > sage: a+a ## line 26 ## 
> > [0 0 0] 
> > [0 0 0] 
> > [0 0 0] 
> > sage: b = a.new_matrix(2,3,range(6)); b ## line 31 ## 
> > [0 1 0] 
> > [1 0 1] 
> > sage: a*b ## line 35 ## 
> > sage: b*a ## line 39 ## 
> > [1 0 1] 
> > [1 0 0] 
> > sage: TestSuite(a).run() ## line 43 ## 
> > sage: TestSuite(b).run() ## line 44 ## 
> > sage: a.echelonize(); a ## line 46 ## 
> > [1 0 0] 
> > [0 1 0] 
> > [0 0 1] 
> > sage: b.echelonize(); b ## line 50 ## 
> > [1 0 1] 
> > [0 1 0] 
> > sage: FF = FiniteField(2) ## line 56 ## 
> > sage: V = VectorSpace(FF,2) ## line 57 ## 
> > sage: v = V([0,1]); v ## line 58 ## 
> > (0, 1) 
> > sage: W = V.subspace([v]) ## line 60 ## 
> > sage: W ## line 61 ## 
> > Vector space of degree 2 and dimension 1 over Finite Field of size 2 
> > Basis matrix: 
> > [0 1] 
> > sage: v in W ## line 65 ## 
> > True 
> > sage: M = Matrix(GF(2), [[1,1,0],[0,1,0]]) ## line 68 ## 
> > sage: M.row_space() ## line 69 ## 
> > Vector space of degree 3 and dimension 2 over Finite Field of size 2 
> > Basis matrix: 
> > [1 0 0] 
> > [0 1 0] 
> > sage: M = Matrix(GF(2), [[1,1,0],[0,0,1]]) ## line 75 ## 
> > sage: M.row_space() ## line 76 ## 
> > Vector space of degree 3 and dimension 2 over Finite Field of size 2 
> > Basis matrix: 
> > [1 1 0] 
> > [0 0 1] 
> > sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ## 
> line 90 ## 
> > 0 
> > sage: type(random_matrix(GF(2),2,2)) ## line 165 ## 
> > <type 'sage.matrix.matrix_mod2_dense.Matrix_mod2_dense'> 
> > sage: Matrix(GF(2),3,3,1) # indirect doctest ## line 168 ## 
> > [1 0 0] 
> > [0 1 0] 
> > [0 0 1] 
> > sage: matrix(GF(2),0,[]) * vector(GF(2),0,[]) ## line 177 ## 
> > () 
> > sage: MatrixSpace(GF(2), 2^30)(1) ## line 182 ## 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to