The following are lines that are being added without any coverage.
Some lines one would expect to be uncovered -- especially those that
raise some sort of exception, but I've often found that writing tests
for other lines is a great way to uncover errors.

Although the tool I have isn't the greatest, it gets the job done: if
you look in a coverage report at the file listed below you should be
able to find a red line (uncovered line)  for the line(s) indicated.

Uncovered lines since Work-on-gate-commutation-relations-sorting-
simplifyi.patch
sympy\core\symbol.py
        warnings.warn(
        if assumptions.pop('dummy'):
        return Dummy(name, commutative, **assumptions)
sympy\physics\quantum\gate.py
        return Integer(2)*IdentityGate(self.targets[0])
        return Integer(2)*IdentityGate(self.targets[0])
        return Integer(0)
        return Integer(0)
sympy\physics\quantum\matrixutils.py
        if hasattr(sparse, 'base'):
        scipy_sparse_matrix = sparse.base.spmatrix
        elif hasattr(sparse, 'sparse'):
        scipy_sparse_matrix = sparse.sparse.spmatrix
        import numpy as np
        test = np.zeros_like(e)
        if np.allclose(e, test):
        return 0.0
        return e
        import numpy as np
        edense = e.todense()
        test = np.zeros_like(edense)
        if np.allclose(edense, test):
        return 0.0
        return e
        e = _numpy_matrix_to_zero(e)
        e = _scipy_sparse_matrix_to_zero(e)
sympy\physics\quantum\represent.py
        return float(e)
        raise TypeError('Expected number, got: %r' % e)
sympy\printing\codeprinter.py
        raise ValueError("lhs indices must match non-dummy"

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to