remove test.py try and except