Test for None outside try/except.