MAINT: avoid shadowing the eigvals function
Merge pull request #4269 from argriffing/test-decomp-pyflakes

MAINT: avoid shadowing the eigvals function