MAINT: Backport small mod in test_linalg.py from master.

This change managed to slip through the backport. It doesn't seem to
have any effect on test success but it is probably a good thing to
keep things in sync.