Removed commented out, legacy python code

Also removed a lingering, commented out test line.