TST: linalg: make sure that running the xerbla test is safe
Merge pull request #3330 from pv/fix-xerbla-test

TST: linalg: make sure that running the xerbla test is safe