CLN: Exception and BaseException in test_nanops
AFAICT these are artifacts of pre-pytest usage where we needed to manually add info to the traceback.

Adds a code_check to make sure we aren't catching BaseException anywhere.  BaseException includes KeyboardInterrupt, which we shouldn't be catching in general.

Saving parametrization in test_nanops for a separate pass, as the diff will get big.