remove errant error check in test_cudamat.py

- also cleanup spaces on blank lines (PEP8)